Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.001422/0.001422, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 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.001455/0.001455, allocations: 219.9 kB / 23 MB, free: 5.004 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] 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.9748/0.9748, allocations: 150 MB / 463.2 MB, free: 10.45 MB / 366.1 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_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 62.19 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1882, allocations: 89.17 MB / 0.7284 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.3841/0.5723, allocations: 39.27 MB / 0.7667 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.5935, allocations: 13.62 MB / 0.78 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005201/0.5987, allocations: 226 kB / 0.7802 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01005/0.6087, allocations: 4.063 MB / 0.7842 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007724/0.6164, allocations: 2.606 MB / 0.7868 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008642/0.6251, allocations: 2.792 MB / 0.7895 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01581/0.6409, allocations: 9.595 MB / 0.7988 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.6524, allocations: 5.564 MB / 0.8043 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009776/0.6621, allocations: 4.121 MB / 0.8083 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.6725, allocations: 4.673 MB / 0.8129 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00322/0.6757, allocations: 0.7698 MB / 0.8136 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007565/0.6833, allocations: 1.809 MB / 0.8154 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006749/0.6901, allocations: 3.109 MB / 0.8184 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009966/0.7, allocations: 3.584 MB / 0.8219 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.7193, allocations: 11.9 MB / 0.8335 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7193, allocations: 0 / 0.8335 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7193, allocations: 0 / 0.8335 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003666/0.7197, allocations: 0 / 0.8335 GB, free: 14.91 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01943/0.7391, allocations: 6.439 MB / 0.8398 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.7392, allocations: 8.031 kB / 0.8398 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002561/0.7417, allocations: 0.7524 MB / 0.8406 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009516/0.7512, allocations: 1.332 MB / 0.8419 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.7619, allocations: 3.729 MB / 0.8455 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004444/0.7623, allocations: 379 kB / 0.8459 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/0.7643, allocations: 0.4956 MB / 0.8464 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/0.7849, allocations: 8.894 MB / 0.855 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/0.7852, allocations: 27.77 kB / 0.8551 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/0.7866, allocations: 223.9 kB / 0.8553 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002182/0.7888, allocations: 0.6304 MB / 0.8559 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.806, allocations: 7.014 MB / 0.8627 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06045/0.8664, allocations: 39.8 MB / 0.9016 GB, free: 5.445 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.8713, allocations: 2.653 MB / 0.9042 GB, free: 2.785 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004366/0.8757, allocations: 2.422 MB / 0.9066 GB, free: 364 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000418/0.8761, allocations: 34.03 kB / 0.9066 GB, free: 328 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.044e-05/0.8762, allocations: 64.66 kB / 0.9067 GB, free: 252 kB / 0.67 GB Notification: Performance of pre-optimization done (n=265): time 6.743e-06/0.8762, allocations: 0 / 0.9067 GB, free: 252 kB / 0.67 GB Notification: Performance of matching and sorting (n=424): time 0.3058/1.182, allocations: 72.93 MB / 0.9779 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.188e-05/1.182, allocations: 94.73 kB / 0.978 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004276/1.186, allocations: 2.367 MB / 0.9803 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/1.187, allocations: 97.7 kB / 0.9804 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.19, allocations: 2.398 MB / 0.9827 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002237/1.192, allocations: 1.51 MB / 0.9842 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002397/1.194, allocations: 0.7218 MB / 0.9849 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.194, allocations: 305.1 kB / 0.9852 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005419/1.2, allocations: 2.999 MB / 0.9881 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/1.206, allocations: 3.843 MB / 0.9919 GB, free: 8.32 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.219, allocations: 7.38 MB / 0.9991 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.757e-05/1.219, allocations: 4 kB / 0.9991 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.0333/1.252, allocations: 12.4 MB / 1.011 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/1.252, allocations: 20.03 kB / 1.011 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.731e-05/1.252, allocations: 24 kB / 1.011 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02435/1.277, allocations: 6.017 MB / 1.017 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/1.279, allocations: 495.2 kB / 1.018 GB, free: 13.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4295/1.708, allocations: 70.58 MB / 1.087 GB, free: 256.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/1.712, allocations: 215.2 kB / 1.087 GB, free: 256.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005187/1.713, allocations: 156.1 kB / 1.087 GB, free: 256.2 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003543/1.716, allocations: 1.993 MB / 1.089 GB, free: 256.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008336/1.717, allocations: 408.9 kB / 1.089 GB, free: 256.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03046/1.748, allocations: 12.05 MB / 1.101 GB, free: 255.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.88e-05/1.748, allocations: 41.16 kB / 1.101 GB, free: 255.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002307/1.748, allocations: 51.56 kB / 1.101 GB, free: 255.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001034/1.748, allocations: 21.66 kB / 1.101 GB, free: 255.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04178/1.79, allocations: 18.93 MB / 1.12 GB, free: 248.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.132e-05/1.79, allocations: 7.188 kB / 1.12 GB, free: 248.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/1.791, allocations: 289.9 kB / 1.12 GB, free: 248.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02024/1.812, allocations: 5.583 MB / 1.125 GB, free: 247.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006208/1.812, allocations: 79.62 kB / 1.125 GB, free: 247 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06469/1.877, allocations: 68.21 MB / 1.192 GB, free: 193.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/1.877, allocations: 13.5 kB / 1.192 GB, free: 193.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02627/1.903, allocations: 15.46 MB / 1.207 GB, free: 177.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002939/1.906, allocations: 0.9836 MB / 1.208 GB, free: 176.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.907, allocations: 83.98 kB / 1.208 GB, free: 176.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/1.91, allocations: 215.7 kB / 1.208 GB, free: 176.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001818/1.912, allocations: 426 kB / 1.209 GB, free: 175.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.912, allocations: 108 kB / 1.209 GB, free: 175.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001974/1.914, allocations: 1.56 MB / 1.21 GB, free: 174.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/1.914, allocations: 0 / 1.21 GB, free: 174.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00634/1.92, allocations: 1.859 MB / 1.212 GB, free: 172.3 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02578/1.946, allocations: 16.13 MB / 1.228 GB, free: 155.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01701/1.963, allocations: 11.6 MB / 1.239 GB, free: 144 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.963, allocations: 4.062 kB / 1.239 GB, free: 144 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01253/1.976, allocations: 8.121 MB / 1.247 GB, free: 135.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005146/1.981, allocations: 1.193 MB / 1.248 GB, free: 134.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09018/2.071, allocations: 53.81 MB / 1.301 GB, free: 79.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004244/2.075, allocations: 4.095 MB / 1.305 GB, free: 75.03 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002156/2.077, allocations: 0.663 MB / 1.306 GB, free: 74.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/2.079, allocations: 2.124 MB / 1.308 GB, free: 72.24 MB / 0.8419 GB Notification: Performance of SimCode: time 1.312e-06/2.079, allocations: 0 / 1.308 GB, free: 72.24 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7218/2.801, allocations: 156.5 MB / 1.461 GB, free: 275.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.76/24.56, allocations: 9.141 kB / 1.461 GB, free: 275.4 MB / 0.8731 GB " [Timeout remaining time 635] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.97717502200976] Failed to read output from testmodel.py, exit status != 0: 24.761166433803737 24.773671181 24.051584764 Calling exit ...