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.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.001245/0.001245, allocations: 117.2 kB / 17.13 MB, free: 5.918 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.001198/0.001198, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.438/1.438, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.8363/0.8363, allocations: 129.2 MB / 432.5 MB, free: 13.41 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.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 0.001812/0.001812, allocations: 68.14 kB / 0.5987 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4636, allocations: 83.45 MB / 0.6802 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03902/0.5026, allocations: 27.07 MB / 0.7066 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.5207, allocations: 8.163 MB / 0.7146 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003507/0.5242, allocations: 115.4 kB / 0.7147 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008104/0.5323, allocations: 2.809 MB / 0.7175 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.5379, allocations: 1.664 MB / 0.7191 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005179/0.5431, allocations: 1.683 MB / 0.7207 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009686/0.5528, allocations: 6.142 MB / 0.7267 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009252/0.562, allocations: 5.318 MB / 0.7319 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005863/0.5679, allocations: 2.613 MB / 0.7345 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005978/0.5739, allocations: 2.998 MB / 0.7374 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.5756, allocations: 0.5078 MB / 0.7379 GB, free: 2.781 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.5794, allocations: 1.307 MB / 0.7392 GB, free: 1.473 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003514/0.583, allocations: 2.104 MB / 0.7412 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005646/0.5886, allocations: 2.377 MB / 0.7435 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.6007, allocations: 8.082 MB / 0.7514 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.6007, allocations: 0 / 0.7514 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6007, allocations: 0 / 0.7514 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002649/0.601, allocations: 0 / 0.7514 GB, free: 4.871 MB / 0.5606 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.01079/0.6117, allocations: 4.339 MB / 0.7557 GB, free: 472 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6118, allocations: 8.031 kB / 0.7557 GB, free: 464 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001248/0.613, allocations: 0.5343 MB / 0.7562 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.6177, allocations: 0.818 MB / 0.757 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006941/0.6246, allocations: 2.594 MB / 0.7595 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.6249, allocations: 279.6 kB / 0.7598 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/0.6263, allocations: 376.4 kB / 0.7602 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.6419, allocations: 5.992 MB / 0.766 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000217/0.6421, allocations: 19.83 kB / 0.766 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/0.6433, allocations: 160 kB / 0.7662 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007325/0.6441, allocations: 282.9 kB / 0.7665 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.6551, allocations: 4.52 MB / 0.7709 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0403/0.6954, allocations: 27.5 MB / 0.7977 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.6974, allocations: 1.057 MB / 0.7988 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.699, allocations: 0.9617 MB / 0.7997 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.401e-05/0.6991, allocations: 13 kB / 0.7997 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.6991, allocations: 43.56 kB / 0.7998 GB, free: 488 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.526e-06/0.6991, allocations: 0 / 0.7998 GB, free: 488 kB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.02362/0.7227, allocations: 9.714 MB / 0.8092 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.7228, allocations: 64.72 kB / 0.8093 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.7255, allocations: 1.494 MB / 0.8108 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.7257, allocations: 49.7 kB / 0.8108 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.7272, allocations: 1.715 MB / 0.8125 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006159/0.7278, allocations: 491.8 kB / 0.813 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006666/0.7285, allocations: 331.4 kB / 0.8133 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.7286, allocations: 305.1 kB / 0.8136 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.7303, allocations: 0.9174 MB / 0.8145 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.7324, allocations: 1.463 MB / 0.8159 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/0.7361, allocations: 2.546 MB / 0.8184 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.018e-05/0.7362, allocations: 8 kB / 0.8184 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006506/0.7427, allocations: 3.275 MB / 0.8216 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.7427, allocations: 16.25 kB / 0.8216 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/0.7427, allocations: 20 kB / 0.8216 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.7451, allocations: 0.7373 MB / 0.8223 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.7467, allocations: 379.4 kB / 0.8227 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/0.7663, allocations: 17.05 MB / 0.8393 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.7681, allocations: 103.9 kB / 0.8394 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/0.7684, allocations: 76 kB / 0.8395 GB, free: 5.695 MB / 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.002817/0.7712, allocations: 1.315 MB / 0.8408 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006582/0.7719, allocations: 210.8 kB / 0.841 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/0.7777, allocations: 2.769 MB / 0.8437 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.7777, allocations: 16 kB / 0.8437 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.102e-05/0.7777, allocations: 8 kB / 0.8437 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.7777, allocations: 7.969 kB / 0.8437 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.7914, allocations: 6.197 MB / 0.8498 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.7914, allocations: 8 kB / 0.8498 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7926, allocations: 227.6 kB / 0.85 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/0.7948, allocations: 0.6716 MB / 0.8507 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.7949, allocations: 28 kB / 0.8507 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/0.8134, allocations: 16.8 MB / 0.8671 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/0.8134, allocations: 4 kB / 0.8671 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007479/0.8209, allocations: 3.998 MB / 0.871 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/0.8222, allocations: 467.6 kB / 0.8715 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005085/0.8228, allocations: 35.92 kB / 0.8715 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.824, allocations: 87.89 kB / 0.8716 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/0.8243, allocations: 116.7 kB / 0.8717 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.8244, allocations: 36 kB / 0.8717 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002056/0.8265, allocations: 0.9942 MB / 0.8727 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8265, allocations: 0 / 0.8727 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003177/0.8297, allocations: 0.6875 MB / 0.8734 GB, free: 1.418 MB / 0.6856 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.4046/1.234, allocations: 4.591 MB / 0.8778 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006831/1.241, allocations: 3.38 MB / 0.8811 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.52e-05/1.241, allocations: 1.688 kB / 0.8811 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003482/1.245, allocations: 2.248 MB / 0.8833 GB, free: 167.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/1.247, allocations: 0.667 MB / 0.884 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03209/1.28, allocations: 21.21 MB / 0.9047 GB, free: 157.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/1.282, allocations: 2.669 MB / 0.9073 GB, free: 156.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001542/1.284, allocations: 481.1 kB / 0.9078 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.285, allocations: 1.281 MB / 0.909 GB, free: 155 MB / 0.6856 GB Notification: Performance of SimCode: time 1.413e-06/1.285, allocations: 4 kB / 0.909 GB, free: 155 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.395, allocations: 57.55 MB / 0.9652 GB, free: 102.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.9, allocations: 13.28 kB / 0.9652 GB, free: 102.5 MB / 0.6856 GB " [Timeout remaining time 645] (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: 18.584962238091975] Failed to read output from testmodel.py, exit status != 0: 15.01509793009609 15.032467005 14.428164095 Calling exit ...