Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001283/0.001283, 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.001705/0.001705, allocations: 221 kB / 23.01 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.05/1.05, allocations: 150 MB / 463.2 MB, free: 10.56 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.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.002252/0.002252, allocations: 64.98 kB / 0.6413 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1812, allocations: 89.18 MB / 0.7284 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01461/0.1958, allocations: 10.48 MB / 0.7386 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006164/0.202, allocations: 3.298 MB / 0.7418 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008732/0.2028, allocations: 47.62 kB / 0.7419 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.2048, allocations: 0.618 MB / 0.7425 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.2068, allocations: 0.7818 MB / 0.7432 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.2086, allocations: 0.7602 MB / 0.744 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003858/0.2125, allocations: 2.992 MB / 0.7469 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.215, allocations: 1.419 MB / 0.7483 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.2172, allocations: 1.282 MB / 0.7495 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002824/0.22, allocations: 1.714 MB / 0.7512 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005654/0.2206, allocations: 236 kB / 0.7514 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2219, allocations: 0.4994 MB / 0.7519 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001611/0.2235, allocations: 1.099 MB / 0.753 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.2255, allocations: 1.116 MB / 0.7541 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004882/0.2304, allocations: 3.695 MB / 0.7577 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2304, allocations: 0 / 0.7577 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2304, allocations: 0 / 0.7577 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001081/0.2305, allocations: 0 / 0.7577 GB, free: 3.184 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005723/0.2362, allocations: 2.115 MB / 0.7598 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.2362, allocations: 12.03 kB / 0.7598 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007159/0.237, allocations: 265.2 kB / 0.76 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3728/0.6098, allocations: 1.322 MB / 0.7613 GB, free: 32.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.6129, allocations: 1.258 MB / 0.7626 GB, free: 32.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/0.613, allocations: 114.1 kB / 0.7627 GB, free: 32.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.6134, allocations: 147.6 kB / 0.7628 GB, free: 32.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005563/0.619, allocations: 3.436 MB / 0.7662 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.619, allocations: 10.72 kB / 0.7662 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.6192, allocations: 63.84 kB / 0.7662 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002484/0.6195, allocations: 202.3 kB / 0.7664 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005301/0.6248, allocations: 3.126 MB / 0.7695 GB, free: 32.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02112/0.6459, allocations: 13.47 MB / 0.7826 GB, free: 24.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/0.6488, allocations: 1.626 MB / 0.7842 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.651, allocations: 1.33 MB / 0.7855 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.6511, allocations: 14.75 kB / 0.7855 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.6512, allocations: 45.38 kB / 0.7856 GB, free: 23.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 3.306e-06/0.6512, allocations: 0 / 0.7856 GB, free: 23.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183): time 0.1286/0.7798, allocations: 36.2 MB / 0.8209 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.183e-05/0.7798, allocations: 73.41 kB / 0.821 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.7815, allocations: 1.054 MB / 0.822 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.7817, allocations: 53.7 kB / 0.8221 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000628/0.7823, allocations: 0.8067 MB / 0.8229 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006492/0.783, allocations: 0.6534 MB / 0.8235 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007901/0.7838, allocations: 367.5 kB / 0.8238 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7839, allocations: 301.1 kB / 0.8241 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/0.7869, allocations: 1.936 MB / 0.826 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003339/0.7902, allocations: 2.281 MB / 0.8283 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006397/0.7966, allocations: 4.392 MB / 0.8325 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.7966, allocations: 0 / 0.8325 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02105/0.8177, allocations: 8.878 MB / 0.8412 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.8177, allocations: 15.94 kB / 0.8412 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.8177, allocations: 9.125 kB / 0.8412 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01737/0.8351, allocations: 4.964 MB / 0.8461 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.836, allocations: 199.7 kB / 0.8463 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07809/0.9141, allocations: 38.54 MB / 0.8839 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.916, allocations: 99.89 kB / 0.884 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004335/0.9165, allocations: 72 kB / 0.8841 GB, free: 14 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.9182, allocations: 0.8001 MB / 0.8849 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/0.9187, allocations: 153.2 kB / 0.885 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/0.9401, allocations: 8.745 MB / 0.8935 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/0.9401, allocations: 20 kB / 0.8936 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001026/0.9402, allocations: 28 kB / 0.8936 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-05/0.9403, allocations: 11.91 kB / 0.8936 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03059/0.9709, allocations: 13.24 MB / 0.9065 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.9709, allocations: 8.031 kB / 0.9065 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.9714, allocations: 119.8 kB / 0.9066 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01769/0.9891, allocations: 4.833 MB / 0.9114 GB, free: 1.859 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/0.9895, allocations: 34.44 kB / 0.9114 GB, free: 1.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06182/1.051, allocations: 36.45 MB / 0.947 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.051, allocations: 4 kB / 0.947 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/1.072, allocations: 8.457 MB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/1.074, allocations: 0.5847 MB / 0.9558 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005529/1.075, allocations: 39.94 kB / 0.9559 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.076, allocations: 83.89 kB / 0.9559 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008902/1.077, allocations: 177.5 kB / 0.9561 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/1.078, allocations: 47.94 kB / 0.9562 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001289/1.079, allocations: 0.746 MB / 0.9569 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.079, allocations: 0 / 0.9569 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003705/1.083, allocations: 1.004 MB / 0.9579 GB, free: 1.672 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02067/1.103, allocations: 9.041 MB / 0.9667 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.114, allocations: 5.732 MB / 0.9723 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.114, allocations: 4 kB / 0.9723 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008335/1.123, allocations: 3.777 MB / 0.976 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.125, allocations: 240.5 kB / 0.9762 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06242/1.187, allocations: 30.83 MB / 1.006 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/1.189, allocations: 1.859 MB / 1.008 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0008454/1.19, allocations: 358.4 kB / 1.008 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/1.191, allocations: 0.6086 MB / 1.009 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of SimCode: time 7.91e-07/1.191, allocations: 0 / 1.009 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5333/1.724, allocations: 78.75 MB / 1.086 GB, free: 280.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/16.5, allocations: 2.938 kB / 1.086 GB, free: 280.7 MB / 0.8419 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.550445314962417] Failed to read output from testmodel.py, exit status != 0: 16.640240218956023 16.65625155 16.422445063 Calling exit ...