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.001705/0.001705, allocations: 101.9 kB / 20.48 MB, free: 1.246 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.002121/0.002121, allocations: 218.4 kB / 23.78 MB, free: 4.145 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.793 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 1.007/1.007, allocations: 150 MB / 464 MB, free: 10.19 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="cs",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="cs",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.002037/0.002037, allocations: 62.72 kB / 0.642 GB, free: 9.852 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1842, allocations: 89.18 MB / 0.7291 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.3967/0.5809, allocations: 35.65 MB / 0.7639 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02016/0.6011, allocations: 13.17 MB / 0.7767 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004671/0.6057, allocations: 227.4 kB / 0.777 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01012/0.6158, allocations: 3.907 MB / 0.7808 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00808/0.6239, allocations: 2.617 MB / 0.7833 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00788/0.6318, allocations: 2.725 MB / 0.786 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01518/0.647, allocations: 9.59 MB / 0.7954 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01319/0.6602, allocations: 5.56 MB / 0.8008 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01017/0.6703, allocations: 4.158 MB / 0.8048 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01291/0.6832, allocations: 4.663 MB / 0.8094 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003746/0.687, allocations: 0.7781 MB / 0.8102 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008899/0.6959, allocations: 1.661 MB / 0.8118 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.009106/0.705, allocations: 3.106 MB / 0.8148 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01134/0.7163, allocations: 2.927 MB / 0.8177 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02317/0.7395, allocations: 11.94 MB / 0.8293 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.7395, allocations: 4 kB / 0.8293 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7395, allocations: 0 / 0.8293 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003503/0.7399, allocations: 0 / 0.8293 GB, free: 2.176 MB / 0.5919 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.02031/0.7602, allocations: 6.436 MB / 0.8356 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.7602, allocations: 8.031 kB / 0.8356 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001819/0.7604, allocations: 134.3 kB / 0.8358 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003085/0.7635, allocations: 0.7632 MB / 0.8365 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/0.774, allocations: 1.332 MB / 0.8378 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009599/0.7836, allocations: 3.733 MB / 0.8415 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004291/0.784, allocations: 378.5 kB / 0.8418 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/0.7863, allocations: 0.5002 MB / 0.8423 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02248/0.8087, allocations: 9.645 MB / 0.8517 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003265/0.8091, allocations: 23.83 kB / 0.8517 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002182/0.8113, allocations: 223.9 kB / 0.852 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/0.8138, allocations: 0.6304 MB / 0.8526 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.832, allocations: 7.014 MB / 0.8594 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05288/0.8848, allocations: 27.6 MB / 0.8864 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004862/0.8897, allocations: 2.636 MB / 0.8889 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004569/0.8943, allocations: 2.417 MB / 0.8913 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003647/0.8946, allocations: 34.03 kB / 0.8913 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.32e-05/0.8947, allocations: 72.59 kB / 0.8914 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=265): time 6.442e-06/0.8947, allocations: 0 / 0.8914 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of matching and sorting (n=424): time 0.3108/1.206, allocations: 72.93 MB / 0.9626 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/1.206, allocations: 98.67 kB / 0.9627 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/1.21, allocations: 2.367 MB / 0.965 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001058/1.211, allocations: 97.7 kB / 0.9651 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/1.214, allocations: 2.395 MB / 0.9675 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002805/1.217, allocations: 1.51 MB / 0.9689 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003312/1.22, allocations: 0.7256 MB / 0.9696 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.22, allocations: 305.1 kB / 0.9699 GB, free: 484 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005391/1.226, allocations: 2.999 MB / 0.9729 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006466/1.232, allocations: 3.843 MB / 0.9766 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/1.244, allocations: 7.382 MB / 0.9838 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-05/1.244, allocations: 8 kB / 0.9838 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03333/1.277, allocations: 12.39 MB / 0.9959 GB, free: 5.094 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/1.278, allocations: 13.41 kB / 0.9959 GB, free: 5.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/1.278, allocations: 24 kB / 0.996 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0246/1.302, allocations: 6.023 MB / 1.002 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/1.305, allocations: 495.2 kB / 1.002 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1084/1.413, allocations: 69.73 MB / 1.07 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/1.419, allocations: 215.8 kB / 1.071 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.42, allocations: 155.9 kB / 1.071 GB, free: 5.672 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.006902/1.427, allocations: 1.991 MB / 1.073 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/1.429, allocations: 409.7 kB / 1.073 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.424/1.853, allocations: 12.04 MB / 1.085 GB, free: 241.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.213e-05/1.853, allocations: 39.94 kB / 1.085 GB, free: 241.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003102/1.853, allocations: 51.5 kB / 1.085 GB, free: 241.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/1.854, allocations: 23.67 kB / 1.085 GB, free: 241.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04609/1.9, allocations: 17.92 MB / 1.102 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.45e-05/1.9, allocations: 7.375 kB / 1.102 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.902, allocations: 290.7 kB / 1.103 GB, free: 240.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02084/1.922, allocations: 5.559 MB / 1.108 GB, free: 240.3 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009523/1.923, allocations: 81.3 kB / 1.108 GB, free: 240.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07005/1.993, allocations: 67.36 MB / 1.174 GB, free: 189.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/1.993, allocations: 15.31 kB / 1.174 GB, free: 189.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02787/2.021, allocations: 15.44 MB / 1.189 GB, free: 173.9 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003189/2.024, allocations: 0.9864 MB / 1.19 GB, free: 172.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009858/2.025, allocations: 82.23 kB / 1.19 GB, free: 172.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/2.028, allocations: 215.7 kB / 1.19 GB, free: 172.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001593/2.03, allocations: 429 kB / 1.191 GB, free: 172.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000382/2.03, allocations: 108 kB / 1.191 GB, free: 172.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002026/2.032, allocations: 1.556 MB / 1.192 GB, free: 170.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.41e-07/2.032, allocations: 0 / 1.192 GB, free: 170.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006613/2.039, allocations: 1.86 MB / 1.194 GB, free: 168.7 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.02938/2.068, allocations: 16.14 MB / 1.21 GB, free: 152.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01888/2.087, allocations: 11.59 MB / 1.221 GB, free: 140.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/2.087, allocations: 5.969 kB / 1.221 GB, free: 140.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/2.101, allocations: 8.124 MB / 1.229 GB, free: 132.3 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006232/2.107, allocations: 1.199 MB / 1.23 GB, free: 131.2 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1019/2.209, allocations: 53.8 MB / 1.283 GB, free: 76.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005202/2.215, allocations: 3.566 MB / 1.286 GB, free: 72.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002462/2.217, allocations: 0.663 MB / 1.287 GB, free: 72.19 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002724/2.22, allocations: 2.132 MB / 1.289 GB, free: 70.06 MB / 0.8419 GB Notification: Performance of SimCode: time 1.713e-06/2.22, allocations: 0 / 1.289 GB, free: 70.06 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6763/2.896, allocations: 162.1 MB / 1.447 GB, free: 315.1 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.01/24.91, allocations: 7.031 kB / 1.447 GB, free: 315.1 MB / 0.9044 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: 29.68923922209069] Failed to read output from testmodel.py, exit status != 0: 25.16362097300589 25.189717498 24.444984145 Calling exit ...