Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 116.1 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7922/0.7922, allocations: 126.7 MB / 424.6 MB, free: 6.219 MB / 350.1 MB " [Timeout remaining time 179] 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 68.03 kB / 0.582 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.398, allocations: 78.85 MB / 0.659 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007097/0.4051, allocations: 6.791 MB / 0.6657 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004623/0.4098, allocations: 3.071 MB / 0.6687 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.4104, allocations: 26.81 kB / 0.6687 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.4126, allocations: 0.9451 MB / 0.6696 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.4141, allocations: 0.5016 MB / 0.6701 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.4155, allocations: 452 kB / 0.6705 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.4172, allocations: 1.233 MB / 0.6718 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.4182, allocations: 0.6652 MB / 0.6724 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.419, allocations: 475.2 kB / 0.6729 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006717/0.4197, allocations: 0.5197 MB / 0.6734 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.4198, allocations: 67.12 kB / 0.6734 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008087/0.4206, allocations: 381.2 kB / 0.6738 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.4209, allocations: 310.9 kB / 0.6741 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.4213, allocations: 448.6 kB / 0.6745 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.4226, allocations: 1.22 MB / 0.6757 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4226, allocations: 0 / 0.6757 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4227, allocations: 4 kB / 0.6757 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.4227, allocations: 1.344 kB / 0.6757 GB, free: 4.242 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.001917/0.4246, allocations: 1.196 MB / 0.6769 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4247, allocations: 8.938 kB / 0.6769 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.4248, allocations: 122.5 kB / 0.677 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.4264, allocations: 248.8 kB / 0.6772 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008792/0.4273, allocations: 0.6063 MB / 0.6778 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.4273, allocations: 51.22 kB / 0.6779 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.4274, allocations: 66.27 kB / 0.6779 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.4288, allocations: 1.079 MB / 0.679 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.4288, allocations: 6.5 kB / 0.679 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.4289, allocations: 29.83 kB / 0.679 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.429, allocations: 85.34 kB / 0.6791 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.4301, allocations: 0.7527 MB / 0.6799 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005906/0.436, allocations: 5.882 MB / 0.6856 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4372, allocations: 0.564 MB / 0.6861 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/0.4376, allocations: 324.4 kB / 0.6865 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.4377, allocations: 5.5 kB / 0.6865 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.4378, allocations: 41.78 kB / 0.6865 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.355e-06/0.4378, allocations: 0 / 0.6865 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004429/0.4422, allocations: 1.999 MB / 0.6885 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4423, allocations: 61.45 kB / 0.6885 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.443, allocations: 0.563 MB / 0.6891 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.443, allocations: 32.14 kB / 0.6891 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.4434, allocations: 429.2 kB / 0.6895 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.4435, allocations: 180.7 kB / 0.6897 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.4438, allocations: 131.5 kB / 0.6898 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.444, allocations: 377.8 kB / 0.6902 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.4444, allocations: 272.4 kB / 0.6904 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.445, allocations: 496.4 kB / 0.6909 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.4461, allocations: 0.8143 MB / 0.6917 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4461, allocations: 2.75 kB / 0.6917 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001896/0.448, allocations: 1.091 MB / 0.6928 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4481, allocations: 11.97 kB / 0.6928 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.4481, allocations: 7.188 kB / 0.6928 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008683/0.4489, allocations: 281.2 kB / 0.693 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.4495, allocations: 125.5 kB / 0.6932 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007418/0.4569, allocations: 7.139 MB / 0.7001 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.4577, allocations: 33.88 kB / 0.7002 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.4577, allocations: 31.59 kB / 0.7002 GB, free: 24 kB / 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 (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.0004453/0.4582, allocations: 256.4 kB / 0.7004 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.4583, allocations: 77.59 kB / 0.7005 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.46, allocations: 0.8843 MB / 0.7014 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.537e-06/0.46, allocations: 8.234 kB / 0.7014 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.46, allocations: 3.844 kB / 0.7014 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.46, allocations: 3.625 kB / 0.7014 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.4628, allocations: 1.733 MB / 0.7031 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.4629, allocations: 9.25 kB / 0.7031 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.4631, allocations: 59.17 kB / 0.7032 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/0.4639, allocations: 266.4 kB / 0.7034 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.4639, allocations: 7.812 kB / 0.7034 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007298/0.4712, allocations: 7.132 MB / 0.7104 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4713, allocations: 4.031 kB / 0.7104 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.4732, allocations: 0.9838 MB / 0.7113 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.4736, allocations: 196.6 kB / 0.7115 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-05/0.4737, allocations: 15.94 kB / 0.7115 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.4741, allocations: 31.97 kB / 0.7116 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.4743, allocations: 39.94 kB / 0.7116 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.4743, allocations: 16 kB / 0.7116 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005306/0.4748, allocations: 387.1 kB / 0.712 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4748, allocations: 0 / 0.712 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009345/0.4758, allocations: 228 kB / 0.7122 GB, free: 5.262 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.002016/0.4778, allocations: 1.544 MB / 0.7137 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.48, allocations: 1.28 MB / 0.715 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4801, allocations: 0 / 0.715 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.4814, allocations: 0.9009 MB / 0.7159 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4825, allocations: 220 kB / 0.7161 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00937/0.4919, allocations: 6.41 MB / 0.7223 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/0.4927, allocations: 1.013 MB / 0.7233 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004345/0.4931, allocations: 126 kB / 0.7234 GB, free: 9.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.4935, allocations: 247.4 kB / 0.7237 GB, free: 9 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.4935, allocations: 0 / 0.7237 GB, free: 9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06149/0.555, allocations: 17.5 MB / 0.7408 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.26, allocations: 3.938 kB / 0.7408 GB, free: 7.797 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.677420616033487] Failed to read output from testmodel.py, exit status != 0: 11.356097640004009 11.370634133 10.945248709 Calling exit ...