Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001311/0.001311, allocations: 118.4 kB / 17.13 MB, free: 5.777 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.001357/0.001357, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.648 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.8254/0.8254, allocations: 129.2 MB / 432.5 MB, free: 13.49 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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 0.5987 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4175, allocations: 83.44 MB / 0.6802 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006279/0.4238, allocations: 5.593 MB / 0.6856 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004129/0.4279, allocations: 2.688 MB / 0.6883 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.4283, allocations: 25.06 kB / 0.6883 GB, free: 15.57 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.4302, allocations: 0.6898 MB / 0.689 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.4312, allocations: 426.3 kB / 0.6894 GB, free: 14.7 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.4323, allocations: 403.1 kB / 0.6898 GB, free: 14.4 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.4334, allocations: 0.957 MB / 0.6907 GB, free: 13.85 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005688/0.434, allocations: 377.8 kB / 0.6911 GB, free: 13.63 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.4345, allocations: 369.3 kB / 0.6914 GB, free: 13.43 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.435, allocations: 437.4 kB / 0.6918 GB, free: 13.16 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 7.59e-05/0.4351, allocations: 48.28 kB / 0.6919 GB, free: 13.16 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006963/0.4358, allocations: 368.3 kB / 0.6922 GB, free: 12.99 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.4361, allocations: 261.8 kB / 0.6925 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.4364, allocations: 352 kB / 0.6928 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.4376, allocations: 0.976 MB / 0.6938 GB, free: 11.94 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4376, allocations: 5.406 kB / 0.6938 GB, free: 11.93 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4376, allocations: 0 / 0.6938 GB, free: 11.93 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4376, allocations: 0 / 0.6938 GB, free: 11.93 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0017/0.4393, allocations: 1.001 MB / 0.6947 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4393, allocations: 9.344 kB / 0.6947 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.4395, allocations: 99.69 kB / 0.6948 GB, free: 11.04 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.4408, allocations: 196.3 kB / 0.695 GB, free: 10.95 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009025/0.4417, allocations: 0.5278 MB / 0.6955 GB, free: 10.51 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.4417, allocations: 40.55 kB / 0.6956 GB, free: 10.49 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.4419, allocations: 58.83 kB / 0.6956 GB, free: 10.46 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.4431, allocations: 0.8235 MB / 0.6964 GB, free: 9.871 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.4431, allocations: 11.11 kB / 0.6965 GB, free: 9.863 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.4432, allocations: 22.8 kB / 0.6965 GB, free: 9.848 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.4434, allocations: 66.33 kB / 0.6965 GB, free: 9.828 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.4442, allocations: 0.575 MB / 0.6971 GB, free: 9.539 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/0.4493, allocations: 4.571 MB / 0.7016 GB, free: 5.27 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.4498, allocations: 286.5 kB / 0.7018 GB, free: 5.109 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.4501, allocations: 207.1 kB / 0.702 GB, free: 5.004 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.4501, allocations: 7.031 kB / 0.702 GB, free: 5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.4501, allocations: 37.59 kB / 0.7021 GB, free: 4.957 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.4501, allocations: 0 / 0.7021 GB, free: 4.957 MB / 0.5138 GB Notification: Performance of matching and sorting (n=40): time 0.005781/0.4559, allocations: 2.638 MB / 0.7047 GB, free: 3.234 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.456, allocations: 56.03 kB / 0.7047 GB, free: 3.172 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.4565, allocations: 468.1 kB / 0.7052 GB, free: 2.879 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.4566, allocations: 40.39 kB / 0.7052 GB, free: 2.836 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.4569, allocations: 349.1 kB / 0.7055 GB, free: 2.523 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.457, allocations: 153.2 kB / 0.7057 GB, free: 2.391 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.4572, allocations: 105.3 kB / 0.7058 GB, free: 2.324 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.4574, allocations: 360.4 kB / 0.7061 GB, free: 1.977 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.4578, allocations: 243 kB / 0.7064 GB, free: 1.852 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.4583, allocations: 410.8 kB / 0.7067 GB, free: 1.516 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.4593, allocations: 0.6733 MB / 0.7074 GB, free: 1.035 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4593, allocations: 6.375 kB / 0.7074 GB, free: 1.031 MB / 0.5138 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001852/0.4612, allocations: 0.9156 MB / 0.7083 GB, free: 356 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4612, allocations: 7 kB / 0.7083 GB, free: 352 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4612, allocations: 11.94 kB / 0.7083 GB, free: 340 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007939/0.462, allocations: 230.3 kB / 0.7085 GB, free: 100 kB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.4625, allocations: 119.8 kB / 0.7087 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/0.4683, allocations: 5.333 MB / 0.7139 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.469, allocations: 35.97 kB / 0.7139 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.469, allocations: 24 kB / 0.7139 GB, free: 10.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0003938/0.4694, allocations: 217.6 kB / 0.7141 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.4695, allocations: 63.7 kB / 0.7142 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.4711, allocations: 0.766 MB / 0.7149 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4711, allocations: 4 kB / 0.7149 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4711, allocations: 0 / 0.7149 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4711, allocations: 3.984 kB / 0.7149 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.4738, allocations: 1.491 MB / 0.7164 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4738, allocations: 0 / 0.7164 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.4742, allocations: 75.88 kB / 0.7165 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007015/0.4749, allocations: 206.5 kB / 0.7167 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.4749, allocations: 8.188 kB / 0.7167 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/0.4805, allocations: 5.282 MB / 0.7218 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4805, allocations: 3.938 kB / 0.7218 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.4825, allocations: 1.128 MB / 0.7229 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.4829, allocations: 172.6 kB / 0.7231 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.483, allocations: 15.94 kB / 0.7231 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.4833, allocations: 27.95 kB / 0.7231 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4834, allocations: 35.97 kB / 0.7232 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.4834, allocations: 15.98 kB / 0.7232 GB, free: 56 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000414/0.4839, allocations: 314.9 kB / 0.7235 GB, free: 15.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4839, allocations: 0 / 0.7235 GB, free: 15.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007944/0.4846, allocations: 168 kB / 0.7237 GB, free: 15.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * 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: 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 {(2,2,100.0%), (2,4,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.002224/0.4869, allocations: 1.703 MB / 0.7253 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.4886, allocations: 0.9612 MB / 0.7263 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4886, allocations: 0 / 0.7263 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.4896, allocations: 0.6525 MB / 0.7269 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.4905, allocations: 190.1 kB / 0.7271 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/0.499, allocations: 5.65 MB / 0.7326 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.4997, allocations: 0.9494 MB / 0.7335 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003852/0.5001, allocations: 109 kB / 0.7336 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.5003, allocations: 211.4 kB / 0.7338 GB, free: 4.723 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.5003, allocations: 0 / 0.7338 GB, free: 4.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05218/0.5525, allocations: 14.29 MB / 0.7478 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.72, allocations: 7.734 kB / 0.7478 GB, free: 6.703 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.148695585783571] Failed to read output from testmodel.py, exit status != 0: 11.811321472749114 11.831771982 11.39126744 Calling exit ...