Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.381/1.381, allocations: 287.4 MB / 302.6 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008632/0.0008633, allocations: 188.8 kB / 371.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.111/1.111, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006575/0.0006575, allocations: 94.34 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002995, allocations: 12.77 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004268/0.1413, allocations: 5.959 MB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.1443, allocations: 2.89 MB / 0.9874 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.1446, allocations: 27.81 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1448, allocations: 134.9 kB / 0.9875 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.1454, allocations: 413.7 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.1459, allocations: 318.5 kB / 0.9882 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007045/0.1467, allocations: 1.341 MB / 0.9895 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.1477, allocations: 0.9885 MB / 0.9905 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.148, allocations: 390.4 kB / 0.9909 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.1484, allocations: 482.2 kB / 0.9913 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.1484, allocations: 36 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.1487, allocations: 195.7 kB / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1489, allocations: 267.2 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.149, allocations: 177.3 kB / 0.992 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.1495, allocations: 0.9002 MB / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1495, allocations: 4 kB / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1495, allocations: 0 / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1495, allocations: 0 / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001069/0.1506, allocations: 1.001 MB / 0.9938 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.1506, allocations: 8.031 kB / 0.9939 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.527e-05/0.1507, allocations: 118.7 kB / 0.994 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.1518, allocations: 247.5 kB / 0.9942 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.1524, allocations: 0.5453 MB / 0.9947 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1524, allocations: 53.61 kB / 0.9948 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.1525, allocations: 60.38 kB / 0.9948 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009675/0.1534, allocations: 1.085 MB / 0.9959 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.1535, allocations: 7.938 kB / 0.9959 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.1535, allocations: 35.98 kB / 0.9959 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.1536, allocations: 85.25 kB / 0.996 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008208/0.1545, allocations: 0.7465 MB / 0.9968 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.1575, allocations: 5.901 MB / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.1582, allocations: 0.5555 MB / 1.003 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.1585, allocations: 327.1 kB / 1.003 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1586, allocations: 8.375 kB / 1.003 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.1586, allocations: 43 kB / 1.003 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 1.383e-06/0.1586, allocations: 0 / 1.003 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.002708/0.1613, allocations: 1.986 MB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1613, allocations: 59.83 kB / 1.005 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.1618, allocations: 0.543 MB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.1619, allocations: 37.7 kB / 1.006 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.1621, allocations: 418.9 kB / 1.006 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.1622, allocations: 165.6 kB / 1.007 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.1622, allocations: 16 kB / 1.007 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1623, allocations: 382.6 kB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.1627, allocations: 277.8 kB / 1.007 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.1632, allocations: 489 kB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.164, allocations: 0.8093 MB / 1.008 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.164, allocations: 4 kB / 1.008 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001487/0.1655, allocations: 1.079 MB / 1.01 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1656, allocations: 8 kB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1656, allocations: 8 kB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007112/0.1663, allocations: 279.7 kB / 1.01 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.1667, allocations: 123.8 kB / 1.01 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.1716, allocations: 6.599 MB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.172, allocations: 39.95 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.1721, allocations: 28 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.1723, allocations: 250.8 kB / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.1724, allocations: 71.16 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.1737, allocations: 0.8924 MB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1737, allocations: 8 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1737, allocations: 4 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1737, allocations: 0 / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.1758, allocations: 1.724 MB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1758, allocations: 8.188 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.176, allocations: 59.83 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006367/0.1767, allocations: 271.3 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1767, allocations: 12 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/0.1816, allocations: 6.587 MB / 1.026 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1816, allocations: 4.031 kB / 1.026 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1828, allocations: 0.9796 MB / 1.027 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.183, allocations: 192.2 kB / 1.027 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.1831, allocations: 15.94 kB / 1.027 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.1834, allocations: 27.95 kB / 1.027 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.1835, allocations: 39.95 kB / 1.027 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.1835, allocations: 16 kB / 1.027 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003255/0.1838, allocations: 375.1 kB / 1.028 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1838, allocations: 4 kB / 1.028 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005646/0.1844, allocations: 224 kB / 1.028 GB, free: 7.402 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/0.1859, allocations: 1.54 MB / 1.029 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.1874, allocations: 1.275 MB / 1.031 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1874, allocations: 128 / 1.031 GB, free: 4.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.1884, allocations: 0.8932 MB / 1.031 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.1894, allocations: 192.5 kB / 1.032 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.1943, allocations: 4.374 MB / 1.036 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.1947, allocations: 1.02 MB / 1.037 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003398/0.1951, allocations: 126 kB / 1.037 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.1953, allocations: 247.4 kB / 1.037 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/0.1953, allocations: 0 / 1.037 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3284/0.5237, allocations: 16.2 MB / 1.053 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.524, allocations: 217.7 kB / 1.053 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.865, allocations: 0 / 1.053 GB, free: 13.24 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)