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.001517/0.001517, allocations: 100.8 kB / 16.4 MB, free: 6.461 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.001761/0.001761, allocations: 192 kB / 17.34 MB, free: 5.719 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7677/0.7677, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 61.8 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1213, allocations: 77.93 MB / 0.6441 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008129/0.1295, allocations: 6.714 MB / 0.6506 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004721/0.1342, allocations: 3.036 MB / 0.6536 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.1348, allocations: 27.81 kB / 0.6536 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.1373, allocations: 0.9511 MB / 0.6545 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.1385, allocations: 0.5168 MB / 0.655 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.1395, allocations: 429.4 kB / 0.6555 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.1408, allocations: 1.224 MB / 0.6566 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/0.1416, allocations: 0.6663 MB / 0.6573 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005552/0.1422, allocations: 482.3 kB / 0.6578 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006274/0.1428, allocations: 0.5214 MB / 0.6583 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.143, allocations: 68 kB / 0.6583 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.1436, allocations: 375.3 kB / 0.6587 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.1439, allocations: 307.2 kB / 0.659 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.1444, allocations: 457.7 kB / 0.6594 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.1457, allocations: 1.23 MB / 0.6606 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1457, allocations: 0 / 0.6606 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1457, allocations: 0 / 0.6606 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.1457, allocations: 0 / 0.6606 GB, free: 8.504 MB / 0.4981 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.001905/0.1476, allocations: 1.179 MB / 0.6618 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1477, allocations: 8.625 kB / 0.6618 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.1478, allocations: 122.7 kB / 0.6619 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.1494, allocations: 236.1 kB / 0.6621 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.1504, allocations: 0.6042 MB / 0.6627 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.1504, allocations: 49.67 kB / 0.6628 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.1505, allocations: 64.36 kB / 0.6628 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.152, allocations: 1.085 MB / 0.6639 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.152, allocations: 11.88 kB / 0.6639 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.1521, allocations: 27.98 kB / 0.6639 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.1523, allocations: 85.25 kB / 0.664 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1534, allocations: 0.7543 MB / 0.6647 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/0.1585, allocations: 5.875 MB / 0.6705 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009546/0.1594, allocations: 0.5563 MB / 0.671 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.1599, allocations: 338 kB / 0.6713 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.1599, allocations: 4.438 kB / 0.6713 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.16, allocations: 39 kB / 0.6714 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 1.933e-06/0.16, allocations: 0 / 0.6714 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.003685/0.1637, allocations: 1.991 MB / 0.6733 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1637, allocations: 59.84 kB / 0.6734 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005645/0.1643, allocations: 0.5586 MB / 0.6739 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.1643, allocations: 29.7 kB / 0.674 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.1646, allocations: 436 kB / 0.6744 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.1647, allocations: 178.5 kB / 0.6745 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.1649, allocations: 126.6 kB / 0.6747 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1651, allocations: 374.7 kB / 0.675 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.1655, allocations: 277.8 kB / 0.6753 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.166, allocations: 0.4892 MB / 0.6758 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.167, allocations: 0.8094 MB / 0.6766 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.167, allocations: 0 / 0.6766 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001755/0.1688, allocations: 1.091 MB / 0.6776 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1688, allocations: 8.125 kB / 0.6776 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1688, allocations: 12 kB / 0.6776 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008217/0.1696, allocations: 275.2 kB / 0.6779 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.1701, allocations: 127.8 kB / 0.678 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/0.1765, allocations: 7.146 MB / 0.685 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/0.1771, allocations: 39.95 kB / 0.685 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.1771, allocations: 28 kB / 0.6851 GB, free: 13.88 MB / 0.5294 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.0003039/0.1774, allocations: 254.3 kB / 0.6853 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1776, allocations: 75.53 kB / 0.6854 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.1791, allocations: 0.8886 MB / 0.6862 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1791, allocations: 4 kB / 0.6863 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.1791, allocations: 4.188 kB / 0.6863 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1791, allocations: 0 / 0.6863 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.1817, allocations: 1.724 MB / 0.6879 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.1817, allocations: 16.11 kB / 0.688 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.182, allocations: 63.89 kB / 0.688 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007478/0.1828, allocations: 259.2 kB / 0.6883 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.1828, allocations: 8 kB / 0.6883 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0064/0.1892, allocations: 7.126 MB / 0.6952 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1892, allocations: 4.031 kB / 0.6952 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.1907, allocations: 0.9842 MB / 0.6962 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.191, allocations: 196.8 kB / 0.6964 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.1911, allocations: 11.94 kB / 0.6964 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.1915, allocations: 27.97 kB / 0.6964 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.1916, allocations: 51.92 kB / 0.6965 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.1917, allocations: 16 kB / 0.6965 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004066/0.1921, allocations: 379.1 kB / 0.6968 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1921, allocations: 4 kB / 0.6969 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007442/0.1929, allocations: 224 kB / 0.6971 GB, free: 0.8398 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.001752/0.1946, allocations: 1.548 MB / 0.6986 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.1965, allocations: 1.275 MB / 0.6998 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1966, allocations: 0 / 0.6998 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.1978, allocations: 0.8893 MB / 0.7007 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.1988, allocations: 228.8 kB / 0.7009 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008184/0.207, allocations: 6.381 MB / 0.7071 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.2076, allocations: 1.005 MB / 0.7081 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.2079, allocations: 122 kB / 0.7082 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.2083, allocations: 251.4 kB / 0.7085 GB, free: 4.629 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2083, allocations: 0 / 0.7085 GB, free: 4.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04449/0.2528, allocations: 17.35 MB / 0.7254 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.35, allocations: 12.05 kB / 0.7254 GB, free: 3.531 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)