Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.00102/0.001021, allocations: 106 kB / 16.4 MB, free: 6.504 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.0008894/0.0008894, 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.184/1.184, 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.6336/0.6336, allocations: 115.3 MB / 406.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.48 kB / 0.5572 GB, free: 32.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1199, allocations: 76.18 MB / 0.6316 GB, free: 5.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006503/0.1264, allocations: 6.065 MB / 0.6375 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003883/0.1303, allocations: 3.153 MB / 0.6406 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1306, allocations: 27.81 kB / 0.6406 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.1327, allocations: 0.9246 MB / 0.6415 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007695/0.1334, allocations: 493.5 kB / 0.642 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000869/0.1343, allocations: 497.9 kB / 0.6425 GB, free: 9.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008767/0.1352, allocations: 1.096 MB / 0.6435 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007473/0.136, allocations: 0.6299 MB / 0.6442 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.1364, allocations: 442.4 kB / 0.6446 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.1369, allocations: 478.2 kB / 0.645 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.1369, allocations: 60 kB / 0.6451 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006236/0.1376, allocations: 487 kB / 0.6456 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.1378, allocations: 287.3 kB / 0.6458 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.1381, allocations: 401.9 kB / 0.6462 GB, free: 6.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1391, allocations: 1.169 MB / 0.6474 GB, free: 4.871 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1392, allocations: 0 / 0.6474 GB, free: 4.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1392, allocations: 8 kB / 0.6474 GB, free: 4.863 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1392, allocations: 0 / 0.6474 GB, free: 4.863 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001317/0.1405, allocations: 1.056 MB / 0.6484 GB, free: 3.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1405, allocations: 8.031 kB / 0.6484 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.1406, allocations: 126.7 kB / 0.6485 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.142, allocations: 215.7 kB / 0.6487 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007411/0.1427, allocations: 0.5805 MB / 0.6493 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.1428, allocations: 45.67 kB / 0.6493 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.1429, allocations: 64.36 kB / 0.6494 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.144, allocations: 1.033 MB / 0.6504 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.1441, allocations: 11.91 kB / 0.6504 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.1441, allocations: 31.92 kB / 0.6504 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.946e-05/0.1442, allocations: 73.27 kB / 0.6505 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.1451, allocations: 0.684 MB / 0.6512 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004044/0.1491, allocations: 5.729 MB / 0.6568 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.1499, allocations: 0.6053 MB / 0.6574 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006849/0.1506, allocations: 440.4 kB / 0.6578 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.1506, allocations: 4 kB / 0.6578 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1507, allocations: 39.25 kB / 0.6578 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.633e-06/0.1507, allocations: 0 / 0.6578 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.003639/0.1543, allocations: 2.01 MB / 0.6598 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.1543, allocations: 59.41 kB / 0.6599 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.1547, allocations: 454.7 kB / 0.6603 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.1548, allocations: 33.7 kB / 0.6603 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.155, allocations: 379.1 kB / 0.6607 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.1551, allocations: 153.8 kB / 0.6608 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1552, allocations: 110.2 kB / 0.6609 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1553, allocations: 358.8 kB / 0.6613 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.1557, allocations: 245.2 kB / 0.6615 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.1561, allocations: 457 kB / 0.6619 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.1569, allocations: 0.7516 MB / 0.6627 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1569, allocations: 4 kB / 0.6627 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00157/0.1584, allocations: 1.042 MB / 0.6637 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1585, allocations: 8 kB / 0.6637 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1585, allocations: 12.81 kB / 0.6637 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008856/0.1594, allocations: 315.1 kB / 0.664 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.1597, allocations: 103.8 kB / 0.6641 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/0.1661, allocations: 7.474 MB / 0.6714 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.1664, allocations: 27.98 kB / 0.6714 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.1664, allocations: 24 kB / 0.6715 GB, free: 10.54 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.1667, allocations: 241.6 kB / 0.6717 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.1668, allocations: 63.27 kB / 0.6718 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.1682, allocations: 0.8923 MB / 0.6726 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1682, allocations: 7.984 kB / 0.6726 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1683, allocations: 4 kB / 0.6726 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1683, allocations: 0 / 0.6726 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.1706, allocations: 1.677 MB / 0.6743 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1707, allocations: 192 / 0.6743 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1708, allocations: 51.91 kB / 0.6743 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008473/0.1717, allocations: 303.2 kB / 0.6746 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.1717, allocations: 11.94 kB / 0.6746 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006185/0.1779, allocations: 7.471 MB / 0.6819 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1779, allocations: 3.938 kB / 0.6819 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.1793, allocations: 0.9837 MB / 0.6829 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.1796, allocations: 180.3 kB / 0.6831 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.208e-05/0.1796, allocations: 12 kB / 0.6831 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.1799, allocations: 23.92 kB / 0.6831 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.18, allocations: 47.88 kB / 0.6831 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.18, allocations: 12 kB / 0.6832 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002982/0.1803, allocations: 302.9 kB / 0.6834 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1803, allocations: 0 / 0.6834 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006823/0.181, allocations: 196 kB / 0.6836 GB, free: 13.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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/0.1827, allocations: 1.544 MB / 0.6851 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.1842, allocations: 1.195 MB / 0.6863 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1842, allocations: 0 / 0.6863 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.1852, allocations: 0.8582 MB / 0.6871 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008324/0.1861, allocations: 206.8 kB / 0.6873 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/0.1926, allocations: 5.821 MB / 0.693 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.1931, allocations: 0.9921 MB / 0.694 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.1933, allocations: 97.19 kB / 0.6941 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.1936, allocations: 231.3 kB / 0.6943 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1936, allocations: 0 / 0.6943 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03901/0.2326, allocations: 15.26 MB / 0.7092 GB, free: 2.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.239/9.472, allocations: 4.547 kB / 0.7092 GB, free: 2.859 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)