Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007783/0.0007783, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.925/0.925, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.58/0.58, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.889e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01869/0.01871, allocations: 25.04 MB / 0.5787 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.009945/0.02865, allocations: 7.977 MB / 0.5865 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.03003, allocations: 154.8 kB / 0.5866 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.03327, allocations: 2.79 MB / 0.5893 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.03577, allocations: 1.713 MB / 0.591 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.03857, allocations: 1.695 MB / 0.5927 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004414/0.04298, allocations: 6.27 MB / 0.5988 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.04594, allocations: 3.754 MB / 0.6025 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.04915, allocations: 3.723 MB / 0.6061 GB, free: 13.37 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.05123, allocations: 2.634 MB / 0.6087 GB, free: 10.73 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003977/0.05163, allocations: 0.5195 MB / 0.6092 GB, free: 10.21 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.053, allocations: 1.216 MB / 0.6104 GB, free: 8.992 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.05413, allocations: 2.194 MB / 0.6125 GB, free: 6.793 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.05556, allocations: 1.657 MB / 0.6141 GB, free: 5.133 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004774/0.06033, allocations: 8.208 MB / 0.6221 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.06033, allocations: 0 / 0.6221 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-06/0.06034, allocations: 0 / 0.6221 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.115e-05/0.06039, allocations: 0 / 0.6221 GB, free: 12.9 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004296/0.06468, allocations: 4.222 MB / 0.6263 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.06472, allocations: 12.03 kB / 0.6263 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004743/0.0652, allocations: 0.5382 MB / 0.6268 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.06752, allocations: 0.8258 MB / 0.6276 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.07031, allocations: 2.537 MB / 0.6301 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.07044, allocations: 267.7 kB / 0.6303 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004464/0.07088, allocations: 372.8 kB / 0.6307 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006053/0.07694, allocations: 6.452 MB / 0.637 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/0.077, allocations: 11.88 kB / 0.637 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.07725, allocations: 160 kB / 0.6372 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003049/0.07755, allocations: 286.9 kB / 0.6374 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.08225, allocations: 4.508 MB / 0.6418 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.09557, allocations: 17.99 MB / 0.6594 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.09658, allocations: 1.062 MB / 0.6604 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/0.09741, allocations: 0.9486 MB / 0.6614 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.367e-05/0.09746, allocations: 16.98 kB / 0.6614 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.09749, allocations: 47.56 kB / 0.6614 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=110): time 2.495e-06/0.0975, allocations: 0 / 0.6614 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=131): time 0.012/0.1095, allocations: 9.101 MB / 0.6703 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1095, allocations: 64.72 kB / 0.6704 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.1108, allocations: 1.529 MB / 0.6719 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/0.1108, allocations: 45.7 kB / 0.6719 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/0.1115, allocations: 1.715 MB / 0.6736 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.1118, allocations: 491.8 kB / 0.6741 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/0.1121, allocations: 323.4 kB / 0.6744 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.1122, allocations: 301.1 kB / 0.6746 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008828/0.1131, allocations: 0.9174 MB / 0.6755 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.1145, allocations: 1.463 MB / 0.677 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.1168, allocations: 2.55 MB / 0.6795 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.1168, allocations: 11.94 kB / 0.6795 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.2603/0.3771, allocations: 3.272 MB / 0.6827 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3771, allocations: 11.91 kB / 0.6827 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.3771, allocations: 16.41 kB / 0.6827 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.3783, allocations: 0.7384 MB / 0.6834 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.3791, allocations: 386.9 kB / 0.6838 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007231/0.3863, allocations: 16 MB / 0.6994 GB, free: 138 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009536/0.3873, allocations: 97.23 kB / 0.6995 GB, free: 138 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.3874, allocations: 77.78 kB / 0.6996 GB, free: 138 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.001481/0.3888, allocations: 1.313 MB / 0.7009 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.389, allocations: 211 kB / 0.7011 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.3917, allocations: 2.767 MB / 0.7038 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3917, allocations: 11.12 kB / 0.7038 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.3917, allocations: 8.156 kB / 0.7038 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3917, allocations: 6.656 kB / 0.7038 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/0.3972, allocations: 5.891 MB / 0.7095 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3972, allocations: 5.312 kB / 0.7095 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.3978, allocations: 230 kB / 0.7098 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009515/0.3988, allocations: 0.6698 MB / 0.7104 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.3988, allocations: 30.31 kB / 0.7104 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006663/0.4055, allocations: 15.75 MB / 0.7258 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4055, allocations: 9.469 kB / 0.7258 GB, free: 120.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/0.4099, allocations: 3.99 MB / 0.7297 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/0.4105, allocations: 383.2 kB / 0.7301 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.4106, allocations: 40.22 kB / 0.7301 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.4111, allocations: 88 kB / 0.7302 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.4113, allocations: 118.4 kB / 0.7303 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.024e-05/0.4114, allocations: 40.67 kB / 0.7304 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001023/0.4124, allocations: 0.9941 MB / 0.7313 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4124, allocations: 0 / 0.7313 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001891/0.4143, allocations: 0.6848 MB / 0.732 GB, free: 117.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004174/0.4185, allocations: 4.586 MB / 0.7365 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.4214, allocations: 3.371 MB / 0.7398 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.4215, allocations: 1.188 kB / 0.7398 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.423, allocations: 2.248 MB / 0.742 GB, free: 112.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.4246, allocations: 0.679 MB / 0.7426 GB, free: 111.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/0.448, allocations: 21.2 MB / 0.7633 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/0.4499, allocations: 2.106 MB / 0.7654 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001263/0.4512, allocations: 488 kB / 0.7659 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009579/0.4522, allocations: 1.286 MB / 0.7671 GB, free: 99.06 MB / 0.6355 GB Notification: Performance of SimCode: time 1.743e-06/0.4522, allocations: 0 / 0.7671 GB, free: 99.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07051/0.5227, allocations: 61.39 MB / 0.8271 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/9.237, allocations: 6.922 kB / 0.8271 GB, free: 39.75 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.899358307942748] Failed to read output from testmodel.py, exit status != 0: 9.3462084652856 9.356857387 9.295023372 Calling exit ...