Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 184 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 102.5 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.166e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2616, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9141/1.176, allocations: 177.7 MB / 1.386 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.176, allocations: 98.42 kB / 1.386 GB, free: 18.33 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.05083/1.227, allocations: 25.71 MB / 1.411 GB, free: 16.87 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/1.227, allocations: 0 / 1.411 GB, free: 16.87 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.697e-05/1.227, allocations: 4 kB / 1.411 GB, free: 16.87 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001133/1.228, allocations: 0.6131 MB / 1.412 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.228, allocations: 12.02 kB / 1.412 GB, free: 16.22 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/1.228, allocations: 79.28 kB / 1.412 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/1.229, allocations: 123.4 kB / 1.412 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/1.23, allocations: 316.2 kB / 1.412 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/1.23, allocations: 57.92 kB / 1.412 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/1.23, allocations: 35.62 kB / 1.412 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/1.231, allocations: 482.6 kB / 1.413 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/1.231, allocations: 0 / 1.413 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/1.231, allocations: 14.12 kB / 1.413 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/1.231, allocations: 24.77 kB / 1.413 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/1.232, allocations: 346.1 kB / 1.413 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/1.235, allocations: 2.218 MB / 1.415 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/1.236, allocations: 253.9 kB / 1.416 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/1.236, allocations: 135.9 kB / 1.416 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/1.236, allocations: 4 kB / 1.416 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.236, allocations: 34.56 kB / 1.416 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/1.236, allocations: 4 kB / 1.416 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0008021/1.237, allocations: 263.5 kB / 1.416 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.237, allocations: 59.36 kB / 1.416 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/1.237, allocations: 204 kB / 1.416 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/1.237, allocations: 25.7 kB / 1.416 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/1.237, allocations: 216 kB / 1.417 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/1.237, allocations: 64.67 kB / 1.417 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/1.237, allocations: 6.5 kB / 1.417 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.238, allocations: 329.1 kB / 1.417 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/1.238, allocations: 73.55 kB / 1.417 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/1.238, allocations: 168.1 kB / 1.417 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/1.238, allocations: 98.22 kB / 1.417 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.238, allocations: 0 / 1.417 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007342/1.239, allocations: 353 kB / 1.418 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004037/1.239, allocations: 0.9571 MB / 1.418 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.239, allocations: 7.938 kB / 1.418 GB, free: 9.816 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/1.24, allocations: 107.4 kB / 1.419 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/1.24, allocations: 55.53 kB / 1.419 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/1.242, allocations: 2.026 MB / 1.421 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/1.243, allocations: 39.42 kB / 1.421 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/1.243, allocations: 11.31 kB / 1.421 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/1.243, allocations: 5.094 kB / 1.421 GB, free: 7.543 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005666/1.243, allocations: 272 kB / 1.421 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.243, allocations: 4 kB / 1.421 GB, free: 7.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/1.244, allocations: 74.83 kB / 1.421 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/1.244, allocations: 55.91 kB / 1.421 GB, free: 7.215 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/1.246, allocations: 1.482 MB / 1.423 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/1.246, allocations: 35.73 kB / 1.423 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/1.246, allocations: 8 kB / 1.423 GB, free: 5.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.246, allocations: 128.7 kB / 1.423 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/1.246, allocations: 15.81 kB / 1.423 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/1.246, allocations: 33.08 kB / 1.423 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/1.246, allocations: 0 / 1.423 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/1.246, allocations: 7.938 kB / 1.423 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.246, allocations: 0 / 1.423 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/1.248, allocations: 0.8008 MB / 1.424 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.248, allocations: 4.062 kB / 1.424 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/1.248, allocations: 35.8 kB / 1.424 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000356/1.248, allocations: 101.1 kB / 1.424 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/1.248, allocations: 3.875 kB / 1.424 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/1.251, allocations: 2.793 MB / 1.426 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/1.251, allocations: 3.938 kB / 1.426 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006167/1.251, allocations: 408.3 kB / 1.427 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/1.252, allocations: 107.2 kB / 1.427 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/1.252, allocations: 14.95 kB / 1.427 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/1.252, allocations: 15.23 kB / 1.427 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/1.252, allocations: 19.53 kB / 1.427 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/1.252, allocations: 4 kB / 1.427 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000153/1.252, allocations: 159.7 kB / 1.427 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.252, allocations: 3.938 kB / 1.427 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006481/1.253, allocations: 177.2 kB / 1.427 GB, free: 0.8594 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/1.254, allocations: 1.084 MB / 1.428 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001642/1.255, allocations: 0.6037 MB / 1.429 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.255, allocations: 0.9375 kB / 1.429 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/1.256, allocations: 355.9 kB / 1.429 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/1.257, allocations: 47.02 kB / 1.429 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/1.258, allocations: 0.4888 MB / 1.43 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/1.258, allocations: 0.8196 MB / 1.431 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002715/1.259, allocations: 70 kB / 1.431 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/1.259, allocations: 85.78 kB / 1.431 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/1.259, allocations: 3.938 kB / 1.431 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/1.281, allocations: 6.666 MB / 1.437 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/1.281, allocations: 181.8 kB / 1.437 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/3.207, allocations: 0 / 1.437 GB, free: 6.781 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat