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.001164/0.001164, allocations: 107.6 kB / 16.41 MB, free: 6.492 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.001153/0.001153, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6525/0.6525, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.78 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007056/0.124, allocations: 6.709 MB / 0.6381 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004024/0.128, allocations: 3.04 MB / 0.6411 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.1282, allocations: 27.81 kB / 0.6411 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.1304, allocations: 0.9472 MB / 0.6421 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000809/0.1312, allocations: 0.5207 MB / 0.6426 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.132, allocations: 430.3 kB / 0.643 GB, free: 9.199 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009574/0.1329, allocations: 1.224 MB / 0.6442 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.1337, allocations: 0.6649 MB / 0.6448 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.1341, allocations: 470.4 kB / 0.6453 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005062/0.1346, allocations: 0.5253 MB / 0.6458 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.444e-05/0.1347, allocations: 67.94 kB / 0.6459 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.1352, allocations: 379.3 kB / 0.6462 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.1355, allocations: 307.2 kB / 0.6465 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.1359, allocations: 453.7 kB / 0.6469 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009504/0.1368, allocations: 1.208 MB / 0.6481 GB, free: 3.918 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1368, allocations: 4 kB / 0.6481 GB, free: 3.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1368, allocations: 0 / 0.6481 GB, free: 3.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1369, allocations: 0 / 0.6481 GB, free: 3.914 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.001519/0.1384, allocations: 1.169 MB / 0.6493 GB, free: 2.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1384, allocations: 8.031 kB / 0.6493 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.1385, allocations: 118.7 kB / 0.6494 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.1399, allocations: 235.6 kB / 0.6496 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007285/0.1406, allocations: 0.5998 MB / 0.6502 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.1407, allocations: 45.69 kB / 0.6502 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/0.1408, allocations: 64.36 kB / 0.6503 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.142, allocations: 1.093 MB / 0.6514 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.142, allocations: 7.922 kB / 0.6514 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.1421, allocations: 32 kB / 0.6514 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.1422, allocations: 85.25 kB / 0.6515 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009888/0.1432, allocations: 0.7542 MB / 0.6522 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/0.1474, allocations: 5.862 MB / 0.658 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/0.1482, allocations: 0.5614 MB / 0.6585 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.1486, allocations: 326 kB / 0.6588 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.1487, allocations: 8.438 kB / 0.6588 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1487, allocations: 38.98 kB / 0.6589 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.984e-06/0.1487, allocations: 0 / 0.6589 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.003226/0.1519, allocations: 1.978 MB / 0.6608 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.152, allocations: 55.84 kB / 0.6608 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.1525, allocations: 0.5585 MB / 0.6614 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.1525, allocations: 37.7 kB / 0.6614 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1527, allocations: 422.9 kB / 0.6618 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.1528, allocations: 169.5 kB / 0.662 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.153, allocations: 126.6 kB / 0.6621 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1532, allocations: 378.7 kB / 0.6625 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.1535, allocations: 269.8 kB / 0.6627 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.154, allocations: 493 kB / 0.6632 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008529/0.1549, allocations: 0.8132 MB / 0.664 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1549, allocations: 8 kB / 0.664 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001528/0.1564, allocations: 1.087 MB / 0.6651 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1564, allocations: 8 kB / 0.6651 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1565, allocations: 12.03 kB / 0.6651 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007567/0.1572, allocations: 279.1 kB / 0.6653 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.1576, allocations: 127.8 kB / 0.6655 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005522/0.1632, allocations: 7.13 MB / 0.6724 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.1637, allocations: 40.03 kB / 0.6725 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.1637, allocations: 28 kB / 0.6725 GB, free: 9.355 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.0002892/0.164, allocations: 257.5 kB / 0.6727 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.1641, allocations: 75.16 kB / 0.6728 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.1655, allocations: 0.8846 MB / 0.6737 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1655, allocations: 8 kB / 0.6737 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1655, allocations: 4 kB / 0.6737 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1655, allocations: 0 / 0.6737 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.1677, allocations: 1.724 MB / 0.6754 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1677, allocations: 192 / 0.6754 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.168, allocations: 67.89 kB / 0.6754 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006586/0.1686, allocations: 271.3 kB / 0.6757 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.1687, allocations: 12 kB / 0.6757 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005475/0.1742, allocations: 7.118 MB / 0.6827 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1742, allocations: 4.031 kB / 0.6827 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.1755, allocations: 0.9796 MB / 0.6836 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.1758, allocations: 192.1 kB / 0.6838 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.1759, allocations: 15.98 kB / 0.6838 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.1762, allocations: 27.91 kB / 0.6838 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.1763, allocations: 51.88 kB / 0.6839 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.1763, allocations: 16 kB / 0.6839 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003715/0.1767, allocations: 379.1 kB / 0.6843 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1767, allocations: 0 / 0.6843 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000713/0.1774, allocations: 224 kB / 0.6845 GB, free: 12.32 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.001578/0.179, allocations: 1.543 MB / 0.686 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.1808, allocations: 1.275 MB / 0.6872 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.1808, allocations: 4 kB / 0.6872 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.1819, allocations: 0.8893 MB / 0.6881 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/0.1827, allocations: 225.5 kB / 0.6883 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.1904, allocations: 6.356 MB / 0.6945 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/0.1911, allocations: 1.005 MB / 0.6955 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000334/0.1915, allocations: 122 kB / 0.6956 GB, free: 404 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.1918, allocations: 247.4 kB / 0.6959 GB, free: 156 kB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.1918, allocations: 0 / 0.6959 GB, free: 156 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04262/0.2344, allocations: 17.36 MB / 0.7128 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.432/9.667, allocations: 6.188 kB / 0.7128 GB, free: 15.05 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)