Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001434/0.001434, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001936/0.001936, allocations: 224.5 kB / 23.01 MB, free: 5.043 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.9834/0.9834, allocations: 150 MB / 463.2 MB, free: 10.45 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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002752/0.002752, allocations: 70.61 kB / 0.6413 GB, free: 10.31 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1757, allocations: 89.17 MB / 0.7284 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0152/0.1909, allocations: 11.3 MB / 0.7394 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.2059, allocations: 9.138 MB / 0.7483 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.2074, allocations: 91.19 kB / 0.7484 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00501/0.2124, allocations: 1.747 MB / 0.7501 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.2176, allocations: 1.578 MB / 0.7517 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.2203, allocations: 0.6783 MB / 0.7523 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004412/0.2247, allocations: 2.293 MB / 0.7546 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.2271, allocations: 1.168 MB / 0.7557 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.2296, allocations: 1.191 MB / 0.7569 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.2316, allocations: 0.996 MB / 0.7578 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004145/0.232, allocations: 132 kB / 0.758 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.2339, allocations: 0.8071 MB / 0.7587 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007686/0.2346, allocations: 0.5646 MB / 0.7593 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.236, allocations: 0.8628 MB / 0.7601 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3381/0.5741, allocations: 2.536 MB / 0.7626 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5741, allocations: 0.5312 kB / 0.7626 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5741, allocations: 1.219 kB / 0.7626 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.904e-05/0.5742, allocations: 2.531 kB / 0.7626 GB, free: 11.93 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003292/0.5775, allocations: 1.984 MB / 0.7646 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5775, allocations: 10 kB / 0.7646 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/0.5777, allocations: 188.2 kB / 0.7647 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.5882, allocations: 2.042 MB / 0.7667 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.5906, allocations: 1.136 MB / 0.7678 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.5907, allocations: 90.22 kB / 0.7679 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.5909, allocations: 117.1 kB / 0.768 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00524/0.5961, allocations: 2.447 MB / 0.7704 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.5962, allocations: 8.75 kB / 0.7704 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.5963, allocations: 54.95 kB / 0.7705 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003345/0.5967, allocations: 126.2 kB / 0.7706 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007501/0.6042, allocations: 2.542 MB / 0.7731 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.6165, allocations: 9.894 MB / 0.7828 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005965/0.6225, allocations: 1.852 MB / 0.7846 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.6249, allocations: 0.9365 MB / 0.7855 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/0.625, allocations: 5.125 kB / 0.7855 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.625, allocations: 49.95 kB / 0.7855 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.554e-06/0.625, allocations: 0 / 0.7855 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.02953/0.6546, allocations: 8.731 MB / 0.7941 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.6546, allocations: 61.94 kB / 0.7941 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6559, allocations: 0.9632 MB / 0.7951 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.656, allocations: 39.89 kB / 0.7951 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.6564, allocations: 0.7814 MB / 0.7959 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.6567, allocations: 294.4 kB / 0.7961 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.657, allocations: 206.5 kB / 0.7963 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.748e-05/0.657, allocations: 345.3 kB / 0.7967 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.6597, allocations: 1.049 MB / 0.7977 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/0.6624, allocations: 1.354 MB / 0.799 GB, free: 444 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005758/0.6682, allocations: 2.42 MB / 0.8014 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.6682, allocations: 3.906 kB / 0.8014 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.009235/0.6774, allocations: 3.229 MB / 0.8045 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.6774, allocations: 9.188 kB / 0.8045 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.6775, allocations: 8.656 kB / 0.8046 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002949/0.6804, allocations: 0.8142 MB / 0.8054 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.6823, allocations: 430 kB / 0.8058 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/0.6989, allocations: 15.08 MB / 0.8205 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.7011, allocations: 291.9 kB / 0.8208 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.7013, allocations: 56.22 kB / 0.8208 GB, free: 15.58 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (88): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008242/0.7021, allocations: 408.2 kB / 0.8212 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.7024, allocations: 135.9 kB / 0.8213 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008433/0.7108, allocations: 3.154 MB / 0.8244 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.7108, allocations: 15.86 kB / 0.8244 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7109, allocations: 7.938 kB / 0.8244 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.7109, allocations: 3.984 kB / 0.8244 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.7224, allocations: 4.807 MB / 0.8291 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.7224, allocations: 7.938 kB / 0.8291 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.7241, allocations: 352.6 kB / 0.8295 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.7268, allocations: 0.7198 MB / 0.8302 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.7269, allocations: 31.97 kB / 0.8302 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/0.7441, allocations: 14.68 MB / 0.8446 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.7441, allocations: 7.281 kB / 0.8446 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008532/0.7526, allocations: 2.996 MB / 0.8475 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009422/0.7535, allocations: 294.9 kB / 0.8478 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/0.7539, allocations: 15.98 kB / 0.8478 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/0.7557, allocations: 299 kB / 0.8481 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/0.756, allocations: 80.06 kB / 0.8481 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.7561, allocations: 35.97 kB / 0.8482 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009858/0.7571, allocations: 0.6362 MB / 0.8488 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7571, allocations: 4 kB / 0.8488 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001737/0.7588, allocations: 416 kB / 0.8492 GB, free: 4.742 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008766/0.7676, allocations: 3.573 MB / 0.8527 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009197/0.7768, allocations: 3.511 MB / 0.8561 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.7768, allocations: 0 / 0.8561 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005544/0.7824, allocations: 2.327 MB / 0.8584 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/0.7853, allocations: 498.1 kB / 0.8589 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03765/0.823, allocations: 15.62 MB / 0.8741 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.8243, allocations: 1.386 MB / 0.8755 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00141/0.8257, allocations: 359.2 kB / 0.8758 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009484/0.8267, allocations: 0.5891 MB / 0.8764 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/0.8267, allocations: 0 / 0.8764 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/0.932, allocations: 39.98 MB / 0.9154 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/17.58, allocations: 3.562 kB / 0.9154 GB, free: 1.02 MB / 0.6856 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.422191689023748] Failed to read output from testmodel.py, exit status != 0: 17.71610968396999 17.731482068 17.153897416 Calling exit ...