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.0008068/0.0008068, allocations: 76.5 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.0008422/0.0008422, 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.8853/0.8853, 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.5624/0.5624, 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 3.286e-06/3.286e-06, allocations: 0 / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.901e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02557/0.02561, allocations: 25.04 MB / 0.5787 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.03628, allocations: 7.985 MB / 0.5865 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.03858, allocations: 150.8 kB / 0.5866 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.04241, allocations: 2.785 MB / 0.5893 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.04645, allocations: 1.717 MB / 0.591 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.0497, allocations: 1.696 MB / 0.5927 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00655/0.05625, allocations: 6.266 MB / 0.5988 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005045/0.06129, allocations: 3.754 MB / 0.6024 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005542/0.06684, allocations: 3.723 MB / 0.6061 GB, free: 13.39 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/0.07111, allocations: 2.638 MB / 0.6087 GB, free: 10.75 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.07238, allocations: 0.5117 MB / 0.6092 GB, free: 10.23 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.0746, allocations: 1.224 MB / 0.6104 GB, free: 9.008 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.07631, allocations: 2.198 MB / 0.6125 GB, free: 6.805 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.07858, allocations: 1.657 MB / 0.6141 GB, free: 5.145 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005598/0.08417, allocations: 8.201 MB / 0.6221 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.08418, allocations: 0 / 0.6221 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.743e-06/0.08418, allocations: 0 / 0.6221 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002277/0.08441, allocations: 0 / 0.6221 GB, free: 12.92 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.006741/0.09115, allocations: 4.229 MB / 0.6263 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.0912, allocations: 8.031 kB / 0.6263 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006647/0.09187, allocations: 0.5343 MB / 0.6268 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.09424, allocations: 0.8374 MB / 0.6276 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.09726, allocations: 2.525 MB / 0.6301 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.09739, allocations: 271.6 kB / 0.6303 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004655/0.09786, allocations: 376.8 kB / 0.6307 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006243/0.1041, allocations: 6.444 MB / 0.637 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.431e-05/0.1042, allocations: 23.86 kB / 0.637 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.1044, allocations: 156 kB / 0.6372 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003778/0.1048, allocations: 282.9 kB / 0.6374 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004773/0.1096, allocations: 4.516 MB / 0.6418 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01452/0.1241, allocations: 17.97 MB / 0.6594 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.1251, allocations: 1.07 MB / 0.6604 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008557/0.126, allocations: 0.9525 MB / 0.6614 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.126, allocations: 13 kB / 0.6614 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1261, allocations: 47.56 kB / 0.6614 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=110): time 2.575e-06/0.1261, allocations: 0 / 0.6614 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of matching and sorting (n=131): time 0.01215/0.1382, allocations: 9.097 MB / 0.6703 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1383, allocations: 68.72 kB / 0.6704 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.1398, allocations: 1.533 MB / 0.6719 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.911e-05/0.1398, allocations: 49.7 kB / 0.6719 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007266/0.1406, allocations: 1.707 MB / 0.6736 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.1408, allocations: 483.8 kB / 0.674 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.1412, allocations: 335.4 kB / 0.6744 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.1412, allocations: 305.1 kB / 0.6746 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/0.1421, allocations: 0.9135 MB / 0.6755 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.1431, allocations: 1.459 MB / 0.677 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.1455, allocations: 2.546 MB / 0.6795 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.1455, allocations: 8 kB / 0.6795 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.2551/0.4006, allocations: 3.276 MB / 0.6827 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.4006, allocations: 10.72 kB / 0.6827 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.4006, allocations: 17.69 kB / 0.6827 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4017, allocations: 0.7446 MB / 0.6834 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.4025, allocations: 381.3 kB / 0.6838 GB, free: 151.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007103/0.4096, allocations: 16.01 MB / 0.6994 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.4106, allocations: 102.8 kB / 0.6995 GB, free: 138 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.952e-05/0.4107, allocations: 73.59 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.001647/0.4124, allocations: 1.31 MB / 0.7009 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.4125, allocations: 210.8 kB / 0.7011 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.4151, allocations: 2.765 MB / 0.7038 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4151, allocations: 12.75 kB / 0.7038 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4151, allocations: 8.375 kB / 0.7038 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4152, allocations: 13.59 kB / 0.7038 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005306/0.4205, allocations: 5.886 MB / 0.7095 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.4205, allocations: 5.094 kB / 0.7095 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.421, allocations: 232.9 kB / 0.7098 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009184/0.4219, allocations: 0.6619 MB / 0.7104 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.422, allocations: 33.41 kB / 0.7104 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/0.4284, allocations: 15.75 MB / 0.7258 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.4284, allocations: 9.219 kB / 0.7258 GB, free: 120.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/0.4323, allocations: 3.984 MB / 0.7297 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.4328, allocations: 386.5 kB / 0.7301 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.433, allocations: 35.55 kB / 0.7301 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.4334, allocations: 83.91 kB / 0.7302 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.4337, allocations: 118.8 kB / 0.7303 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.4337, allocations: 38.5 kB / 0.7304 GB, free: 118.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009224/0.4346, allocations: 0.9963 MB / 0.7313 GB, free: 118 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4346, allocations: 0 / 0.7313 GB, free: 118 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00165/0.4363, allocations: 0.6847 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.003678/0.44, allocations: 4.584 MB / 0.7365 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003003/0.443, allocations: 3.379 MB / 0.7398 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.443, allocations: 2 kB / 0.7398 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.4446, allocations: 2.243 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.001554/0.4462, allocations: 0.6886 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.02319/0.4693, allocations: 21.19 MB / 0.7633 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002419/0.4718, allocations: 2.114 MB / 0.7654 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001226/0.473, allocations: 481 kB / 0.7659 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009529/0.4739, allocations: 1.287 MB / 0.7671 GB, free: 99.06 MB / 0.6355 GB Notification: Performance of SimCode: time 1.703e-06/0.4739, allocations: 0 / 0.7671 GB, free: 99.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08275/0.5567, allocations: 61.38 MB / 0.8271 GB, free: 39.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.219, allocations: 18.25 kB / 0.8271 GB, free: 39.78 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.82806788571179] Failed to read output from testmodel.py, exit status != 0: 9.329705868847668 9.337414876 9.250783853 Calling exit ...