Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.0009984/0.0009984, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0014/0.0014, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.9195/0.9195, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.5743/0.5743, allocations: 114 MB / 373.9 MB, free: 8.707 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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.777e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01442/0.01443, allocations: 19.11 MB / 0.5729 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008305/0.02274, allocations: 6.386 MB / 0.5791 GB, free: 9.168 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.02427, allocations: 111.2 kB / 0.5792 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003182/0.02745, allocations: 2.261 MB / 0.5814 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.02975, allocations: 1.274 MB / 0.5827 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.0322, allocations: 1.3 MB / 0.5839 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005486/0.03768, allocations: 4.95 MB / 0.5888 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005981/0.04366, allocations: 3.174 MB / 0.5919 GB, free: 12 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.04833, allocations: 3.005 MB / 0.5948 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.05138, allocations: 2.182 MB / 0.5969 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0009954/0.05237, allocations: 428 kB / 0.5973 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.05408, allocations: 0.9592 MB / 0.5983 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.05555, allocations: 1.785 MB / 0.6 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.05762, allocations: 1.337 MB / 0.6013 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005447/0.06306, allocations: 6.642 MB / 0.6078 GB, free: 11.63 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.06307, allocations: 0 / 0.6078 GB, free: 11.63 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.225e-06/0.06307, allocations: 7.938 kB / 0.6078 GB, free: 11.62 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001476/0.06322, allocations: 0 / 0.6078 GB, free: 11.62 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005817/0.06904, allocations: 3.43 MB / 0.6112 GB, free: 8.141 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.06909, allocations: 11.97 kB / 0.6112 GB, free: 8.129 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006131/0.0697, allocations: 454.6 kB / 0.6116 GB, free: 7.672 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.07177, allocations: 0.6624 MB / 0.6123 GB, free: 7.008 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.07457, allocations: 1.993 MB / 0.6142 GB, free: 4.961 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.07469, allocations: 222.3 kB / 0.6144 GB, free: 4.742 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000357/0.07505, allocations: 296.3 kB / 0.6147 GB, free: 4.453 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006901/0.08195, allocations: 5.235 MB / 0.6198 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/0.08203, allocations: 23.81 kB / 0.6198 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.08228, allocations: 128 kB / 0.62 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002889/0.08256, allocations: 225.7 kB / 0.6202 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004553/0.08712, allocations: 3.746 MB / 0.6238 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.1006, allocations: 13.55 MB / 0.6371 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1018, allocations: 1.228 MB / 0.6383 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009223/0.1028, allocations: 0.9875 MB / 0.6392 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.1028, allocations: 12.94 kB / 0.6392 GB, free: 10.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.1028, allocations: 47.56 kB / 0.6393 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=107): time 3.006e-06/0.1029, allocations: 0 / 0.6393 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=138): time 0.0138/0.1167, allocations: 8.417 MB / 0.6475 GB, free: 2.195 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.1167, allocations: 64.72 kB / 0.6476 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.1178, allocations: 1.165 MB / 0.6487 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.59e-05/0.1179, allocations: 49.7 kB / 0.6488 GB, free: 0.8945 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008423/0.1188, allocations: 1.333 MB / 0.6501 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.1191, allocations: 499.7 kB / 0.6505 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.1194, allocations: 283.5 kB / 0.6508 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.1194, allocations: 313 kB / 0.6511 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009007/0.1203, allocations: 0.9096 MB / 0.652 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.1216, allocations: 1.322 MB / 0.6533 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.1237, allocations: 2.433 MB / 0.6557 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.1238, allocations: 4 kB / 0.6557 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003976/0.1277, allocations: 3.429 MB / 0.659 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.1278, allocations: 12 kB / 0.659 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.1278, allocations: 12 kB / 0.659 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.1296, allocations: 1.183 MB / 0.6602 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.1302, allocations: 255.5 kB / 0.6604 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.1412, allocations: 13.35 MB / 0.6735 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009402/0.1421, allocations: 91.97 kB / 0.6736 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.1422, allocations: 67.98 kB / 0.6736 GB, free: 6.699 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001541/0.1438, allocations: 1.102 MB / 0.6747 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.144, allocations: 175 kB / 0.6749 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/0.1475, allocations: 3.126 MB / 0.6779 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.1475, allocations: 16 kB / 0.6779 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.1476, allocations: 12 kB / 0.6779 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1476, allocations: 15.84 kB / 0.678 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2942/0.4418, allocations: 5.913 MB / 0.6837 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.4418, allocations: 3.5 kB / 0.6837 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.4421, allocations: 150.2 kB / 0.6839 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.4438, allocations: 1.067 MB / 0.6849 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.512e-05/0.4439, allocations: 26.31 kB / 0.685 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009662/0.4536, allocations: 13.04 MB / 0.6977 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4536, allocations: 6.547 kB / 0.6977 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.4567, allocations: 3.116 MB / 0.7007 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006398/0.4574, allocations: 356.7 kB / 0.7011 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.4575, allocations: 31.14 kB / 0.7011 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.4579, allocations: 83.33 kB / 0.7012 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.4582, allocations: 128.9 kB / 0.7013 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.4582, allocations: 40.53 kB / 0.7013 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006514/0.4589, allocations: 0.7658 MB / 0.7021 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4589, allocations: 0 / 0.7021 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001622/0.4605, allocations: 0.6615 MB / 0.7027 GB, free: 142 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003054/0.4636, allocations: 3.697 MB / 0.7063 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00303/0.4666, allocations: 3.009 MB / 0.7093 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4666, allocations: 3.125 kB / 0.7093 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.4687, allocations: 1.878 MB / 0.7111 GB, free: 137.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.4706, allocations: 0.4959 MB / 0.7116 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.494, allocations: 19.21 MB / 0.7304 GB, free: 128.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/0.4961, allocations: 1.774 MB / 0.7321 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001019/0.4972, allocations: 352.2 kB / 0.7324 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007224/0.4979, allocations: 1.01 MB / 0.7334 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.823e-06/0.4979, allocations: 0 / 0.7334 GB, free: 127.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07105/0.5689, allocations: 55.87 MB / 0.788 GB, free: 83.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.727, allocations: 7.875 kB / 0.788 GB, free: 83.21 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_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_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.432808383367956] Failed to read output from testmodel.py, exit status != 0: 8.831341292709112 8.837575323 8.772929219 Calling exit ...