Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.001665/0.001665, allocations: 110.5 kB / 16.41 MB, free: 6.441 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.001882/0.001882, allocations: 193.2 kB / 17.34 MB, free: 5.699 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8694/0.8694, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 68.06 kB / 0.568 GB, free: 28.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1306, allocations: 77.93 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01259/0.1433, allocations: 10.88 MB / 0.6547 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.1556, allocations: 8.815 MB / 0.6633 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1567, allocations: 55.69 kB / 0.6633 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004305/0.161, allocations: 1.677 MB / 0.665 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004609/0.1656, allocations: 1.562 MB / 0.6665 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.1675, allocations: 0.671 MB / 0.6672 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002728/0.1702, allocations: 2.294 MB / 0.6694 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.172, allocations: 1.376 MB / 0.6707 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001596/0.1736, allocations: 1.012 MB / 0.6717 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.1753, allocations: 1.019 MB / 0.6727 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.1756, allocations: 136 kB / 0.6729 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.1772, allocations: 0.7955 MB / 0.6736 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006728/0.1779, allocations: 0.5725 MB / 0.6742 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.1793, allocations: 0.89 MB / 0.6751 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.183, allocations: 2.58 MB / 0.6776 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.183, allocations: 4 kB / 0.6776 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.183, allocations: 0 / 0.6776 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.57e-05/0.1831, allocations: 0 / 0.6776 GB, free: 7.059 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004649/0.1878, allocations: 2.07 MB / 0.6796 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1878, allocations: 8.625 kB / 0.6796 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003387/0.1882, allocations: 186.1 kB / 0.6798 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.2, allocations: 2.067 MB / 0.6818 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.2027, allocations: 1.213 MB / 0.683 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.2027, allocations: 90.69 kB / 0.6831 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.203, allocations: 119.9 kB / 0.6832 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005611/0.2086, allocations: 2.478 MB / 0.6856 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.503e-05/0.2087, allocations: 15.89 kB / 0.6856 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.2088, allocations: 47.98 kB / 0.6857 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003503/0.2092, allocations: 126.1 kB / 0.6858 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007439/0.2166, allocations: 2.545 MB / 0.6883 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.2345, allocations: 10.04 MB / 0.6981 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.2447, allocations: 1.96 MB / 0.7 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004567/0.2493, allocations: 0.9687 MB / 0.7009 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.011e-05/0.2494, allocations: 12.42 kB / 0.701 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.147e-05/0.2495, allocations: 43 kB / 0.701 GB, free: 14.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 5.59e-06/0.2495, allocations: 0 / 0.701 GB, free: 14.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.04356/0.2931, allocations: 8.756 MB / 0.7096 GB, free: 5.273 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.2932, allocations: 64 kB / 0.7096 GB, free: 5.199 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.2954, allocations: 1.097 MB / 0.7107 GB, free: 4.086 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.2956, allocations: 41.7 kB / 0.7107 GB, free: 4.039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.2963, allocations: 0.7512 MB / 0.7115 GB, free: 3.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/0.2967, allocations: 293.5 kB / 0.7117 GB, free: 2.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006212/0.2974, allocations: 206.5 kB / 0.7119 GB, free: 2.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.2976, allocations: 341.9 kB / 0.7123 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/0.302, allocations: 1.071 MB / 0.7133 GB, free: 1.375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004677/0.3067, allocations: 1.309 MB / 0.7146 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008767/0.3155, allocations: 2.382 MB / 0.7169 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.3155, allocations: 4 kB / 0.7169 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01077/0.3263, allocations: 3.285 MB / 0.7201 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3263, allocations: 8 kB / 0.7201 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3264, allocations: 8.062 kB / 0.7201 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002842/0.3292, allocations: 0.791 MB / 0.7209 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.3312, allocations: 415.3 kB / 0.7213 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.3476, allocations: 15.92 MB / 0.7369 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.35, allocations: 291.5 kB / 0.7371 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.3502, allocations: 55.91 kB / 0.7372 GB, free: 7.547 MB / 0.5762 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0007342/0.351, allocations: 401.5 kB / 0.7376 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.3513, allocations: 151.1 kB / 0.7377 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009035/0.3604, allocations: 3.202 MB / 0.7408 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.3604, allocations: 8 kB / 0.7408 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/0.3604, allocations: 8 kB / 0.7409 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3604, allocations: 7.984 kB / 0.7409 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2888/0.6492, allocations: 4.888 MB / 0.7456 GB, free: 91.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.6492, allocations: 6.844 kB / 0.7456 GB, free: 91.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.651, allocations: 350.5 kB / 0.746 GB, free: 91.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/0.6534, allocations: 0.6987 MB / 0.7467 GB, free: 91.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.6535, allocations: 37.11 kB / 0.7467 GB, free: 91.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/0.6669, allocations: 15.54 MB / 0.7619 GB, free: 79.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6669, allocations: 3.344 kB / 0.7619 GB, free: 79.56 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009003/0.6759, allocations: 3.051 MB / 0.7648 GB, free: 78.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009853/0.6769, allocations: 389.2 kB / 0.7652 GB, free: 78.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.6772, allocations: 26.17 kB / 0.7652 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.6791, allocations: 292.3 kB / 0.7655 GB, free: 78.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.6794, allocations: 78.17 kB / 0.7656 GB, free: 78.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.762e-05/0.6795, allocations: 40.06 kB / 0.7656 GB, free: 78.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001149/0.6807, allocations: 0.7363 MB / 0.7664 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6807, allocations: 0 / 0.7664 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001553/0.6822, allocations: 446.2 kB / 0.7668 GB, free: 78.03 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.008142/0.6904, allocations: 3.617 MB / 0.7703 GB, free: 76.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007978/0.6984, allocations: 3.63 MB / 0.7739 GB, free: 74.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6984, allocations: 1.375 kB / 0.7739 GB, free: 74.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005063/0.7035, allocations: 2.379 MB / 0.7762 GB, free: 73.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.7063, allocations: 0.52 MB / 0.7767 GB, free: 73.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/0.7352, allocations: 15.87 MB / 0.7922 GB, free: 63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.7359, allocations: 1.392 MB / 0.7935 GB, free: 61.58 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001195/0.7371, allocations: 379.5 kB / 0.7939 GB, free: 61.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.7378, allocations: 0.6008 MB / 0.7945 GB, free: 60.62 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.7378, allocations: 0 / 0.7945 GB, free: 60.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07582/0.8136, allocations: 41.49 MB / 0.835 GB, free: 19.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.62, allocations: 11.94 kB / 0.835 GB, free: 19.69 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)