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.00141/0.00141, allocations: 109 kB / 20.48 MB, free: 1.473 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.002274/0.002274, allocations: 207.5 kB / 23.79 MB, free: 4.688 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.503/1.503, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.9442/0.9442, allocations: 150 MB / 464 MB, free: 10.54 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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",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="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.001951/0.001951, allocations: 66.2 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.18, allocations: 89.18 MB / 0.7291 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0359/0.2159, allocations: 27.92 MB / 0.7564 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3917/0.6076, allocations: 8.363 MB / 0.7646 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.6106, allocations: 155.5 kB / 0.7647 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007301/0.6179, allocations: 2.887 MB / 0.7675 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005461/0.6233, allocations: 1.669 MB / 0.7692 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005806/0.6292, allocations: 1.731 MB / 0.7709 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008714/0.6379, allocations: 6.129 MB / 0.7768 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009125/0.647, allocations: 3.791 MB / 0.7805 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006314/0.6533, allocations: 2.656 MB / 0.7831 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00667/0.66, allocations: 2.997 MB / 0.7861 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002467/0.6624, allocations: 0.5092 MB / 0.7866 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.6681, allocations: 1.316 MB / 0.7878 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00482/0.6729, allocations: 2.1 MB / 0.7899 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007224/0.6801, allocations: 2.382 MB / 0.7922 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.6934, allocations: 8.074 MB / 0.8001 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.6934, allocations: 4 kB / 0.8001 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6934, allocations: 1.625 kB / 0.8001 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003132/0.6937, allocations: 0 / 0.8001 GB, free: 3.836 MB / 0.5762 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.01534/0.7091, allocations: 4.262 MB / 0.8043 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.7091, allocations: 9.656 kB / 0.8043 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002331/0.7093, allocations: 96.92 kB / 0.8044 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002811/0.7122, allocations: 0.5362 MB / 0.8049 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006977/0.7191, allocations: 0.8209 MB / 0.8057 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009469/0.7286, allocations: 2.536 MB / 0.8082 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.729, allocations: 273.2 kB / 0.8084 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.731, allocations: 383.9 kB / 0.8088 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.7486, allocations: 5.988 MB / 0.8146 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/0.7488, allocations: 18.05 kB / 0.8147 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00134/0.7501, allocations: 158.2 kB / 0.8148 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007374/0.7509, allocations: 284.4 kB / 0.8151 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.7629, allocations: 4.526 MB / 0.8195 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04261/0.8055, allocations: 27.24 MB / 0.8461 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.8077, allocations: 1.059 MB / 0.8471 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.8094, allocations: 0.9603 MB / 0.8481 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.219e-05/0.8094, allocations: 17 kB / 0.8481 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.8095, allocations: 47.5 kB / 0.8481 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=110): time 4.329e-06/0.8095, allocations: 0 / 0.8481 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of matching and sorting (n=131): time 0.02674/0.8363, allocations: 9.088 MB / 0.857 GB, free: 84 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.8363, allocations: 68.7 kB / 0.8571 GB, free: 0 / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/0.8394, allocations: 1.498 MB / 0.8585 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/0.8398, allocations: 49.7 kB / 0.8586 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.8412, allocations: 1.715 MB / 0.8603 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007099/0.8419, allocations: 490.3 kB / 0.8607 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008454/0.8428, allocations: 331.4 kB / 0.861 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.8429, allocations: 313 kB / 0.8613 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.8445, allocations: 0.9213 MB / 0.8622 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.8466, allocations: 1.462 MB / 0.8637 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.8506, allocations: 2.55 MB / 0.8662 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.8506, allocations: 4 kB / 0.8662 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006843/0.8574, allocations: 3.271 MB / 0.8694 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.8575, allocations: 15.98 kB / 0.8694 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.8575, allocations: 16.91 kB / 0.8694 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/0.86, allocations: 0.7412 MB / 0.8701 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.8617, allocations: 383.4 kB / 0.8705 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.8798, allocations: 16.15 MB / 0.8863 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.8817, allocations: 104.1 kB / 0.8863 GB, free: 456 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/0.882, allocations: 72 kB / 0.8864 GB, free: 384 kB / 0.6544 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.002619/0.8846, allocations: 1.309 MB / 0.8877 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005606/0.8851, allocations: 214.7 kB / 0.8879 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/0.8909, allocations: 2.765 MB / 0.8906 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.8909, allocations: 12 kB / 0.8906 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/0.891, allocations: 8 kB / 0.8906 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.891, allocations: 7.969 kB / 0.8906 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.9042, allocations: 6.181 MB / 0.8967 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.9042, allocations: 8 kB / 0.8967 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.9055, allocations: 231.6 kB / 0.8969 GB, free: 5.465 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002201/0.9077, allocations: 0.6636 MB / 0.8975 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001672/0.9078, allocations: 35.98 kB / 0.8976 GB, free: 4.738 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.9258, allocations: 15.87 MB / 0.9131 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/0.9258, allocations: 7.938 kB / 0.9131 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007466/0.9333, allocations: 4.001 MB / 0.917 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.9348, allocations: 388.9 kB / 0.9174 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007229/0.9355, allocations: 39.92 kB / 0.9174 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.937, allocations: 83.89 kB / 0.9175 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/0.9375, allocations: 120.6 kB / 0.9176 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/0.9376, allocations: 44 kB / 0.9176 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002066/0.9397, allocations: 0.9903 MB / 0.9186 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9397, allocations: 0 / 0.9186 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003376/0.9431, allocations: 0.6836 MB / 0.9193 GB, free: 13.41 MB / 0.7012 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.007759/0.9508, allocations: 4.597 MB / 0.9238 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00599/0.9568, allocations: 3.377 MB / 0.9271 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.9568, allocations: 4.875 kB / 0.9271 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/0.9607, allocations: 2.245 MB / 0.9293 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/0.9644, allocations: 0.6766 MB / 0.9299 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04276/1.007, allocations: 21.3 MB / 0.9507 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004412/1.012, allocations: 2.668 MB / 0.9533 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001686/1.013, allocations: 485.4 kB / 0.9538 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/1.016, allocations: 1.28 MB / 0.955 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of SimCode: time 2.164e-06/1.016, allocations: 0 / 0.955 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/1.152, allocations: 59.11 MB / 1.013 GB, free: 13.12 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.69, allocations: 7.906 kB / 1.013 GB, free: 13.11 MB / 0.795 GB " [Timeout remaining time 643] (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: 20.98330739402445] Failed to read output from testmodel.py, exit status != 0: 16.908449835027568 16.93758882 16.238361693 Calling exit ...