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.001416/0.001416, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001507/0.001507, allocations: 215.8 kB / 22.99 MB, free: 4.977 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.052/1.052, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] 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="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: 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.002275/0.002275, allocations: 63.31 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.187, allocations: 89.18 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03602/0.223, allocations: 25.55 MB / 0.7531 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3461/0.5691, allocations: 8.083 MB / 0.761 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.5722, allocations: 151.1 kB / 0.7612 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007024/0.5792, allocations: 2.773 MB / 0.7639 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004742/0.584, allocations: 1.669 MB / 0.7655 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004617/0.5886, allocations: 1.683 MB / 0.7671 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007622/0.5962, allocations: 6.14 MB / 0.7731 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008761/0.605, allocations: 3.737 MB / 0.7768 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007126/0.6121, allocations: 2.668 MB / 0.7794 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006543/0.6186, allocations: 2.826 MB / 0.7822 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002328/0.621, allocations: 0.5091 MB / 0.7827 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00473/0.6257, allocations: 1.2 MB / 0.7838 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004914/0.6306, allocations: 2.104 MB / 0.7859 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.006981/0.6376, allocations: 1.934 MB / 0.7878 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.6528, allocations: 8.106 MB / 0.7957 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.6528, allocations: 1.188 kB / 0.7957 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6528, allocations: 0 / 0.7957 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003525/0.6532, allocations: 0 / 0.7957 GB, free: 5.492 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.02165/0.6748, allocations: 4.268 MB / 0.7999 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.6749, allocations: 8.719 kB / 0.7999 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003321/0.6782, allocations: 0.5374 MB / 0.8004 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.6889, allocations: 0.8224 MB / 0.8012 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.7017, allocations: 2.529 MB / 0.8037 GB, free: 276 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006514/0.7024, allocations: 273.7 kB / 0.8039 GB, free: 156 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00314/0.7055, allocations: 377.5 kB / 0.8043 GB, free: 28 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0262/0.7317, allocations: 6.444 MB / 0.8106 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002305/0.732, allocations: 23.64 kB / 0.8106 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001623/0.7336, allocations: 164.5 kB / 0.8108 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/0.7346, allocations: 279.9 kB / 0.811 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.7481, allocations: 4.512 MB / 0.8154 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03438/0.7824, allocations: 18 MB / 0.833 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.7844, allocations: 1.055 MB / 0.834 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.7859, allocations: 0.9558 MB / 0.835 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.932e-05/0.7859, allocations: 13 kB / 0.835 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/0.786, allocations: 47.56 kB / 0.835 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 4.489e-06/0.786, allocations: 1.125 kB / 0.835 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.02458/0.8106, allocations: 9.103 MB / 0.8439 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.8107, allocations: 64.72 kB / 0.844 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002973/0.8136, allocations: 1.533 MB / 0.8455 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002384/0.8139, allocations: 49.7 kB / 0.8455 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.8154, allocations: 1.711 MB / 0.8472 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006889/0.8161, allocations: 0.4908 MB / 0.8477 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000775/0.8169, allocations: 327.4 kB / 0.848 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.817, allocations: 305.1 kB / 0.8483 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.8188, allocations: 0.9174 MB / 0.8492 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.8211, allocations: 1.467 MB / 0.8506 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003895/0.825, allocations: 2.549 MB / 0.8531 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.825, allocations: 4 kB / 0.8531 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007148/0.8321, allocations: 3.275 MB / 0.8563 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.8322, allocations: 12 kB / 0.8563 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/0.8322, allocations: 20 kB / 0.8563 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/0.8348, allocations: 0.7372 MB / 0.8571 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.837, allocations: 383.4 kB / 0.8574 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.8565, allocations: 16.03 MB / 0.8731 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.8586, allocations: 99.84 kB / 0.8732 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003366/0.8589, allocations: 79.98 kB / 0.8732 GB, free: 14.09 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.002997/0.8619, allocations: 1.312 MB / 0.8745 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006364/0.8625, allocations: 210.8 kB / 0.8747 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005931/0.8685, allocations: 2.761 MB / 0.8774 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.8685, allocations: 16 kB / 0.8774 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-05/0.8685, allocations: 8 kB / 0.8774 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.8685, allocations: 3.984 kB / 0.8774 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.8826, allocations: 5.898 MB / 0.8832 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.8826, allocations: 4 kB / 0.8832 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.8839, allocations: 227.7 kB / 0.8834 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002176/0.886, allocations: 0.6653 MB / 0.8841 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.8862, allocations: 36 kB / 0.8841 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.9056, allocations: 15.77 MB / 0.8995 GB, free: 1.961 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/0.9056, allocations: 7.938 kB / 0.8995 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008382/0.914, allocations: 4.001 MB / 0.9034 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/0.9157, allocations: 382.6 kB / 0.9038 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006786/0.9163, allocations: 39.92 kB / 0.9038 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.9178, allocations: 83.89 kB / 0.9039 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/0.9182, allocations: 116.7 kB / 0.904 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.9183, allocations: 40 kB / 0.9041 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002069/0.9204, allocations: 0.9942 MB / 0.905 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9204, allocations: 0 / 0.905 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003445/0.9238, allocations: 0.6836 MB / 0.9057 GB, free: 11.53 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.008005/0.9318, allocations: 4.595 MB / 0.9102 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006555/0.9384, allocations: 3.385 MB / 0.9135 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/0.9384, allocations: 4 kB / 0.9135 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003931/0.9423, allocations: 2.237 MB / 0.9157 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.9463, allocations: 0.6765 MB / 0.9163 GB, free: 360 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04617/0.9925, allocations: 21.3 MB / 0.9371 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004768/0.9972, allocations: 2.105 MB / 0.9392 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001884/0.9991, allocations: 481.4 kB / 0.9397 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/1.001, allocations: 1.284 MB / 0.9409 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of SimCode: time 1.763e-06/1.001, allocations: 4 kB / 0.9409 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1847/1.186, allocations: 61.4 MB / 1.001 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.93, allocations: 11.91 kB / 1.001 GB, free: 9.711 MB / 0.7794 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: 19.230817432049662] Failed to read output from testmodel.py, exit status != 0: 15.080638876650482 15.097380548 14.440898968 Calling exit ...