Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 106.6 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7446/0.7446, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 62.27 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1327, allocations: 76.17 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008076/0.1408, allocations: 6.715 MB / 0.6381 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004527/0.1454, allocations: 3.043 MB / 0.6411 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.1457, allocations: 27.81 kB / 0.6411 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.148, allocations: 0.9555 MB / 0.6421 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009605/0.149, allocations: 0.4934 MB / 0.6426 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008807/0.1499, allocations: 429.1 kB / 0.643 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.151, allocations: 1.22 MB / 0.6442 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.1518, allocations: 0.661 MB / 0.6448 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.1523, allocations: 478.3 kB / 0.6453 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005808/0.1529, allocations: 0.5215 MB / 0.6458 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.153, allocations: 64 kB / 0.6458 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.1536, allocations: 379.3 kB / 0.6462 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.1538, allocations: 311.2 kB / 0.6465 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.1542, allocations: 453.7 kB / 0.6469 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.1553, allocations: 1.216 MB / 0.6481 GB, free: 3.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1553, allocations: 4 kB / 0.6481 GB, free: 3.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1553, allocations: 0 / 0.6481 GB, free: 3.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.1554, allocations: 0 / 0.6481 GB, free: 3.918 MB / 494.1 MB 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.00173/0.1571, allocations: 1.157 MB / 0.6492 GB, free: 2.707 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1571, allocations: 8.031 kB / 0.6492 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.1573, allocations: 130.7 kB / 0.6494 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.1588, allocations: 235.6 kB / 0.6496 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.1597, allocations: 0.5959 MB / 0.6502 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.1597, allocations: 53.67 kB / 0.6502 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.1598, allocations: 60.36 kB / 0.6503 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.1613, allocations: 1.089 MB / 0.6513 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.1614, allocations: 3.938 kB / 0.6514 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/0.1614, allocations: 35.98 kB / 0.6514 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.1616, allocations: 85.25 kB / 0.6515 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1627, allocations: 0.7503 MB / 0.6522 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005586/0.1683, allocations: 5.87 MB / 0.6579 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009692/0.1693, allocations: 0.5554 MB / 0.6585 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.1697, allocations: 334 kB / 0.6588 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.1697, allocations: 8.438 kB / 0.6588 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1698, allocations: 35 kB / 0.6588 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/0.1698, allocations: 0 / 0.6588 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003715/0.1735, allocations: 1.986 MB / 0.6608 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1736, allocations: 59.83 kB / 0.6608 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.1741, allocations: 0.5546 MB / 0.6614 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1742, allocations: 33.7 kB / 0.6614 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.1745, allocations: 411 kB / 0.6618 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1746, allocations: 177.5 kB / 0.662 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.1748, allocations: 118.6 kB / 0.6621 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.175, allocations: 382.7 kB / 0.6624 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.1754, allocations: 273.8 kB / 0.6627 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.176, allocations: 493 kB / 0.6632 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.1771, allocations: 0.8094 MB / 0.664 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1771, allocations: 0 / 0.664 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001798/0.1789, allocations: 1.102 MB / 0.665 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1789, allocations: 8 kB / 0.6651 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1789, allocations: 8 kB / 0.6651 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008038/0.1797, allocations: 275.8 kB / 0.6653 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.1802, allocations: 127.8 kB / 0.6654 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/0.1866, allocations: 7.138 MB / 0.6724 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.1871, allocations: 39.95 kB / 0.6725 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.1872, allocations: 28 kB / 0.6725 GB, free: 9.359 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000319/0.1875, allocations: 253.6 kB / 0.6727 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1876, allocations: 71.16 kB / 0.6728 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.1892, allocations: 0.8924 MB / 0.6737 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1892, allocations: 8 kB / 0.6737 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1892, allocations: 4 kB / 0.6737 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1892, allocations: 3.984 kB / 0.6737 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.1919, allocations: 1.716 MB / 0.6754 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1919, allocations: 3.938 kB / 0.6754 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1922, allocations: 59.89 kB / 0.6754 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007415/0.1929, allocations: 267.4 kB / 0.6757 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1929, allocations: 8 kB / 0.6757 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006155/0.1991, allocations: 7.127 MB / 0.6826 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1991, allocations: 4.031 kB / 0.6826 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.2007, allocations: 0.9912 MB / 0.6836 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003347/0.201, allocations: 196.1 kB / 0.6838 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.2011, allocations: 11.94 kB / 0.6838 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.2015, allocations: 27.97 kB / 0.6838 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.2016, allocations: 43.94 kB / 0.6839 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.2016, allocations: 12 kB / 0.6839 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00043/0.202, allocations: 387.1 kB / 0.6843 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2021, allocations: 0 / 0.6843 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008086/0.2029, allocations: 224 kB / 0.6845 GB, free: 12.33 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/0.2046, allocations: 1.549 MB / 0.686 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.2066, allocations: 1.264 MB / 0.6872 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.2066, allocations: 8.125 kB / 0.6872 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.2078, allocations: 0.8892 MB / 0.6881 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.2088, allocations: 215.8 kB / 0.6883 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007972/0.2168, allocations: 6.352 MB / 0.6945 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.2174, allocations: 1.005 MB / 0.6955 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003617/0.2178, allocations: 130 kB / 0.6956 GB, free: 416 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.2181, allocations: 247.4 kB / 0.6958 GB, free: 168 kB / 0.5294 GB Notification: Performance of SimCode: time 6.12e-07/0.2181, allocations: 0 / 0.6958 GB, free: 168 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.2597, allocations: 17.67 MB / 0.7131 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.73, allocations: 9.562 kB / 0.7131 GB, free: 14.75 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)