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.001102/0.001103, allocations: 103.6 kB / 16.27 MB, free: 5.93 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.001197/0.001197, allocations: 187.1 kB / 17.19 MB, free: 5.574 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.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7178/0.7178, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3225, allocations: 77.93 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006743/0.3293, allocations: 6.719 MB / 0.5739 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004073/0.3334, allocations: 3.031 MB / 0.5768 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003984/0.3338, allocations: 29.38 kB / 0.5768 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.3359, allocations: 0.9446 MB / 0.5778 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.3369, allocations: 0.5013 MB / 0.5783 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.3379, allocations: 431.8 kB / 0.5787 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009449/0.3388, allocations: 1.219 MB / 0.5799 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008006/0.3396, allocations: 0.659 MB / 0.5805 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.3402, allocations: 476.1 kB / 0.581 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.3408, allocations: 0.5139 MB / 0.5815 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.3409, allocations: 67.44 kB / 0.5815 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006913/0.3416, allocations: 386.6 kB / 0.5819 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.3419, allocations: 305.1 kB / 0.5822 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003592/0.3422, allocations: 448.2 kB / 0.5826 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009644/0.3432, allocations: 1.206 MB / 0.5838 GB, free: 22.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3432, allocations: 0.5938 kB / 0.5838 GB, free: 22.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3432, allocations: 1.375 kB / 0.5838 GB, free: 22.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.3433, allocations: 1.656 kB / 0.5838 GB, free: 22.34 MB / 446.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.001481/0.3447, allocations: 1.151 MB / 0.5849 GB, free: 21.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.3448, allocations: 11.28 kB / 0.5849 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.3449, allocations: 122 kB / 0.585 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.3464, allocations: 242.2 kB / 0.5853 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007275/0.3471, allocations: 0.5474 MB / 0.5858 GB, free: 20.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.3472, allocations: 53.52 kB / 0.5859 GB, free: 20.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.3473, allocations: 61.42 kB / 0.5859 GB, free: 20.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.3486, allocations: 1.083 MB / 0.587 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.3486, allocations: 6.469 kB / 0.587 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.3487, allocations: 33.89 kB / 0.587 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.3489, allocations: 84.72 kB / 0.5871 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009598/0.3498, allocations: 0.7499 MB / 0.5878 GB, free: 19.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.3535, allocations: 5.902 MB / 0.5936 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008326/0.3544, allocations: 0.5463 MB / 0.5941 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.3548, allocations: 328.1 kB / 0.5944 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3548, allocations: 9.75 kB / 0.5944 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3548, allocations: 41.7 kB / 0.5945 GB, free: 13.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.374e-06/0.3548, allocations: 0 / 0.5945 GB, free: 13.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003279/0.3581, allocations: 1.987 MB / 0.5964 GB, free: 12.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.3581, allocations: 59.84 kB / 0.5965 GB, free: 12.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.3586, allocations: 0.5547 MB / 0.597 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.3586, allocations: 33.7 kB / 0.5971 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3587, allocations: 418.9 kB / 0.5975 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.3588, allocations: 177.5 kB / 0.5976 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.359, allocations: 126.5 kB / 0.5977 GB, free: 10.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.3591, allocations: 378.7 kB / 0.5981 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000312/0.3594, allocations: 281.8 kB / 0.5984 GB, free: 10.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.3597, allocations: 493 kB / 0.5988 GB, free: 9.625 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007118/0.3605, allocations: 0.8055 MB / 0.5996 GB, free: 8.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3605, allocations: 0 / 0.5996 GB, free: 8.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001392/0.3619, allocations: 1.091 MB / 0.6007 GB, free: 7.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3619, allocations: 8 kB / 0.6007 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3619, allocations: 8 kB / 0.6007 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006966/0.3626, allocations: 279.7 kB / 0.601 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.363, allocations: 123.8 kB / 0.6011 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/0.3675, allocations: 7.141 MB / 0.6081 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.3681, allocations: 35.97 kB / 0.6081 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.3681, allocations: 31.98 kB / 0.6081 GB, free: 15.41 MB / 462.1 MB 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.0003048/0.3684, allocations: 253.6 kB / 0.6084 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3685, allocations: 71.16 kB / 0.6084 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.37, allocations: 0.8924 MB / 0.6093 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.37, allocations: 8 kB / 0.6093 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.37, allocations: 0 / 0.6093 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3701, allocations: 4 kB / 0.6093 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.3725, allocations: 1.724 MB / 0.611 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3725, allocations: 8.062 kB / 0.611 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.3727, allocations: 63.89 kB / 0.6111 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007209/0.3735, allocations: 275.4 kB / 0.6113 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.3735, allocations: 8 kB / 0.6114 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006046/0.3796, allocations: 7.114 MB / 0.6183 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3796, allocations: 4.031 kB / 0.6183 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.3811, allocations: 0.9838 MB / 0.6193 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.3813, allocations: 200.1 kB / 0.6195 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/0.3814, allocations: 11.94 kB / 0.6195 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.3818, allocations: 27.97 kB / 0.6195 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.3819, allocations: 51.88 kB / 0.6195 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.3819, allocations: 12 kB / 0.6196 GB, free: 2.965 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004052/0.3824, allocations: 383.1 kB / 0.6199 GB, free: 2.598 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3824, allocations: 0 / 0.6199 GB, free: 2.598 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007681/0.3831, allocations: 224 kB / 0.6201 GB, free: 2.379 MB / 462.1 MB 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.001657/0.3848, allocations: 1.548 MB / 0.6216 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.3867, allocations: 1.33 MB / 0.6229 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3867, allocations: 4 kB / 0.6229 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.3879, allocations: 0.8893 MB / 0.6238 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.3889, allocations: 222.8 kB / 0.624 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/0.3967, allocations: 6.51 MB / 0.6304 GB, free: 7.387 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.3972, allocations: 1.005 MB / 0.6314 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.3976, allocations: 126 kB / 0.6315 GB, free: 6.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.3979, allocations: 247.4 kB / 0.6317 GB, free: 5.988 MB / 478.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3979, allocations: 0 / 0.6317 GB, free: 5.988 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.4379, allocations: 17.11 MB / 0.6484 GB, free: 5.176 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.955/9.393, allocations: 12.84 kB / 0.6484 GB, free: 5.164 MB / 494.1 MB (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)