Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001263/0.001263, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.2 kB / 20.8 MB, free: 2.391 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.718/1.718, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.9859/0.9859, allocations: 150 MB / 460.2 MB, free: 5.32 MB / 350.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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.0021/0.0021, allocations: 68.12 kB / 0.6368 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.205, allocations: 89.14 MB / 0.7238 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01077/0.2158, allocations: 6.825 MB / 0.7305 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006379/0.2222, allocations: 3.11 MB / 0.7336 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009057/0.2231, allocations: 39.62 kB / 0.7336 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.226, allocations: 0.9637 MB / 0.7345 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.228, allocations: 0.5207 MB / 0.735 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.2294, allocations: 425.6 kB / 0.7354 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002081/0.2315, allocations: 1.217 MB / 0.7366 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.2326, allocations: 0.5374 MB / 0.7372 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.2337, allocations: 490.3 kB / 0.7376 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.235, allocations: 0.5487 MB / 0.7382 GB, free: 5.348 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.2352, allocations: 64 kB / 0.7382 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.2364, allocations: 391.2 kB / 0.7386 GB, free: 4.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.2369, allocations: 315 kB / 0.7389 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009983/0.2379, allocations: 449.8 kB / 0.7393 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.2402, allocations: 1.226 MB / 0.7405 GB, free: 2.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2402, allocations: 0 / 0.7405 GB, free: 2.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2402, allocations: 0 / 0.7405 GB, free: 2.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.196e-05/0.2402, allocations: 3.938 kB / 0.7405 GB, free: 2.918 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002324/0.2425, allocations: 1.183 MB / 0.7417 GB, free: 1.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.2426, allocations: 12.03 kB / 0.7417 GB, free: 1.668 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.005e-05/0.2426, allocations: 21.5 kB / 0.7417 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.2428, allocations: 126.6 kB / 0.7418 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.2444, allocations: 244.1 kB / 0.7421 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.2454, allocations: 0.5925 MB / 0.7426 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.2454, allocations: 45.69 kB / 0.7427 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.2455, allocations: 68.34 kB / 0.7428 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.2472, allocations: 1.092 MB / 0.7438 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.2472, allocations: 0 / 0.7438 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.2473, allocations: 31.98 kB / 0.7439 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.2475, allocations: 85.25 kB / 0.7439 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.2487, allocations: 0.7542 MB / 0.7447 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/0.2548, allocations: 5.886 MB / 0.7504 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2558, allocations: 0.5116 MB / 0.7509 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.2563, allocations: 282 kB / 0.7512 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.2563, allocations: 4.438 kB / 0.7512 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2564, allocations: 39 kB / 0.7512 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.796e-06/0.2564, allocations: 4 kB / 0.7512 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004301/0.2607, allocations: 1.987 MB / 0.7532 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.2607, allocations: 55.84 kB / 0.7532 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.2614, allocations: 0.5587 MB / 0.7538 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.2615, allocations: 37.7 kB / 0.7538 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.2618, allocations: 428 kB / 0.7542 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.262, allocations: 178.5 kB / 0.7544 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.2622, allocations: 126.6 kB / 0.7545 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.2624, allocations: 374.7 kB / 0.7549 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.2628, allocations: 277.8 kB / 0.7551 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.2634, allocations: 496.9 kB / 0.7556 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.2646, allocations: 0.8132 MB / 0.7564 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.2646, allocations: 4 kB / 0.7564 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001955/0.2665, allocations: 1.076 MB / 0.7574 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2666, allocations: 8 kB / 0.7575 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.2666, allocations: 8 kB / 0.7575 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009173/0.2675, allocations: 271.3 kB / 0.7577 GB, free: 280 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.268, allocations: 131.7 kB / 0.7578 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/0.2756, allocations: 7.147 MB / 0.7648 GB, free: 8.441 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.2764, allocations: 35.97 kB / 0.7649 GB, free: 8.406 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.2764, allocations: 28 kB / 0.7649 GB, free: 8.379 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0004598/0.2769, allocations: 250.8 kB / 0.7651 GB, free: 8.125 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.277, allocations: 83.59 kB / 0.7652 GB, free: 8.043 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.2787, allocations: 0.8767 MB / 0.7661 GB, free: 7.137 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.2788, allocations: 4 kB / 0.7661 GB, free: 7.133 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2788, allocations: 4 kB / 0.7661 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.2788, allocations: 3.984 kB / 0.7661 GB, free: 7.125 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.2816, allocations: 1.724 MB / 0.7678 GB, free: 5.312 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.2816, allocations: 4 kB / 0.7678 GB, free: 5.309 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.2819, allocations: 63.89 kB / 0.7678 GB, free: 5.246 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000798/0.2827, allocations: 259.4 kB / 0.7681 GB, free: 4.98 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.2827, allocations: 12 kB / 0.7681 GB, free: 4.969 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007434/0.2902, allocations: 7.122 MB / 0.775 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.2902, allocations: 8.031 kB / 0.775 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.292, allocations: 0.9799 MB / 0.776 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.2924, allocations: 188.6 kB / 0.7762 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.953e-05/0.2924, allocations: 19.94 kB / 0.7762 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.2928, allocations: 27.95 kB / 0.7762 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.293, allocations: 39.95 kB / 0.7763 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.293, allocations: 15.94 kB / 0.7763 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005163/0.2935, allocations: 383.1 kB / 0.7766 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2935, allocations: 0 / 0.7766 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000925/0.2944, allocations: 224 kB / 0.7769 GB, free: 11.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002071/0.2965, allocations: 1.533 MB / 0.7784 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.2988, allocations: 1.236 MB / 0.7796 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.2988, allocations: 0 / 0.7796 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.3002, allocations: 0.8817 MB / 0.7804 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.3014, allocations: 221.2 kB / 0.7806 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009521/0.3109, allocations: 6.361 MB / 0.7868 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/0.3117, allocations: 1.009 MB / 0.7878 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000427/0.3121, allocations: 118 kB / 0.7879 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.3125, allocations: 255.3 kB / 0.7882 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of SimCode: time 1.393e-06/0.3125, allocations: 0 / 0.7882 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05376/0.3662, allocations: 17.53 MB / 0.8053 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.59, allocations: 11.81 kB / 0.8053 GB, free: 14 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.918563876010012] Failed to read output from testmodel.py, exit status != 0: 11.744746137002949 11.769260452 11.524283671 Calling exit ...