Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.236/2.236, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001327/0.001327, allocations: 177.7 kB / 498.1 MB, free: 5.742 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.618/1.618, allocations: 223.1 MB / 0.7948 GB, free: 17.96 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.0008621/0.000862, allocations: 104.3 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 11.03 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2793, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.5069, allocations: 191.5 MB / 1.41 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5072, allocations: 99.94 kB / 1.41 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.8365/1.344, allocations: 83.9 MB / 1.492 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.447e-06/1.344, allocations: 4 kB / 1.492 GB, free: 159.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002179/1.344, allocations: 35.98 kB / 1.492 GB, free: 159.3 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.006021/1.35, allocations: 1.772 MB / 1.494 GB, free: 157.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/1.35, allocations: 8.031 kB / 1.494 GB, free: 157.4 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001134/1.351, allocations: 189.9 kB / 1.494 GB, free: 157.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/1.362, allocations: 1.819 MB / 1.496 GB, free: 155.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/1.366, allocations: 1.138 MB / 1.497 GB, free: 154.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.949e-05/1.366, allocations: 86.31 kB / 1.497 GB, free: 154.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005939/1.367, allocations: 123.9 kB / 1.497 GB, free: 154 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006582/1.373, allocations: 2.544 MB / 1.5 GB, free: 151.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.458e-05/1.373, allocations: 7.938 kB / 1.5 GB, free: 151.3 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/1.374, allocations: 55.98 kB / 1.5 GB, free: 151.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/1.374, allocations: 86.14 kB / 1.5 GB, free: 151.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007238/1.381, allocations: 2.584 MB / 1.502 GB, free: 148.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/1.395, allocations: 10.21 MB / 1.512 GB, free: 137.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005275/1.4, allocations: 1.999 MB / 1.514 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.727e-05/1.4, allocations: 4.438 kB / 1.514 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/1.4, allocations: 46.95 kB / 1.514 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/1.4, allocations: 0 / 1.514 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.02822/1.428, allocations: 9.229 MB / 1.523 GB, free: 126.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/1.428, allocations: 218.3 kB / 1.523 GB, free: 126 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/1.43, allocations: 0.9611 MB / 1.524 GB, free: 125.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.43, allocations: 37.7 kB / 1.524 GB, free: 125 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/1.431, allocations: 0.7226 MB / 1.525 GB, free: 124.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/1.431, allocations: 287.9 kB / 1.525 GB, free: 124 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/1.431, allocations: 16 kB / 1.525 GB, free: 124 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/1.431, allocations: 341.9 kB / 1.526 GB, free: 123.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/1.434, allocations: 1.099 MB / 1.527 GB, free: 122.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/1.436, allocations: 1.34 MB / 1.528 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/1.439, allocations: 1.158 MB / 1.529 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.439, allocations: 4 kB / 1.529 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007795/1.447, allocations: 3.308 MB / 1.532 GB, free: 116.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.447, allocations: 11.95 kB / 1.532 GB, free: 116.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.447, allocations: 4 kB / 1.532 GB, free: 116.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/1.45, allocations: 0.8658 MB / 1.533 GB, free: 115.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.452, allocations: 431.1 kB / 1.534 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.464, allocations: 15.2 MB / 1.549 GB, free: 99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/1.467, allocations: 315.5 kB / 1.549 GB, free: 98.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/1.467, allocations: 51.95 kB / 1.549 GB, free: 98.64 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001097/1.468, allocations: 398 kB / 1.549 GB, free: 98.24 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004251/1.469, allocations: 142.3 kB / 1.549 GB, free: 98.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008324/1.477, allocations: 3.277 MB / 1.553 GB, free: 94.78 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.477, allocations: 8 kB / 1.553 GB, free: 94.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-05/1.477, allocations: 8 kB / 1.553 GB, free: 94.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/1.477, allocations: 3.984 kB / 1.553 GB, free: 94.76 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.488, allocations: 5.049 MB / 1.558 GB, free: 89.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/1.488, allocations: 4 kB / 1.558 GB, free: 89.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.49, allocations: 363.7 kB / 1.558 GB, free: 89.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/1.493, allocations: 0.7795 MB / 1.559 GB, free: 88.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/1.493, allocations: 35.95 kB / 1.559 GB, free: 88.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.505, allocations: 14.82 MB / 1.573 GB, free: 72.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.505, allocations: 7.969 kB / 1.573 GB, free: 72.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007598/1.512, allocations: 3.272 MB / 1.576 GB, free: 69.06 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.513, allocations: 395.2 kB / 1.577 GB, free: 68.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005808/1.514, allocations: 16 kB / 1.577 GB, free: 68.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/1.516, allocations: 311.5 kB / 1.577 GB, free: 68.34 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/1.517, allocations: 76.44 kB / 1.577 GB, free: 68.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.517, allocations: 43.97 kB / 1.577 GB, free: 68.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001479/1.518, allocations: 0.7366 MB / 1.578 GB, free: 67.48 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/1.518, allocations: 0 / 1.578 GB, free: 67.48 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002274/1.521, allocations: 464 kB / 1.578 GB, free: 67.03 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007913/1.529, allocations: 4.603 MB / 1.583 GB, free: 62.3 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007304/1.536, allocations: 3.679 MB / 1.586 GB, free: 58.51 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.536, allocations: 0 / 1.586 GB, free: 58.51 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004295/1.54, allocations: 2.407 MB / 1.589 GB, free: 56 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/1.543, allocations: 476.7 kB / 1.589 GB, free: 55.54 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/1.568, allocations: 16.28 MB / 1.605 GB, free: 38.77 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.57, allocations: 1.423 MB / 1.607 GB, free: 37.31 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001748/1.571, allocations: 379.8 kB / 1.607 GB, free: 36.94 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008396/1.572, allocations: 0.5969 MB / 1.607 GB, free: 36.34 MB / 0.9167 GB Notification: Performance of SimCode: time 1.833e-06/1.572, allocations: 0 / 1.607 GB, free: 36.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06724/1.639, allocations: 41.47 MB / 1.648 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/1.64, allocations: 205.7 kB / 1.648 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/4.649, allocations: 0 / 1.648 GB, free: 11.19 MB / 0.9323 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat