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.001679/0.001679, allocations: 122.8 kB / 17.84 MB, free: 5.254 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.00218/0.00218, allocations: 198.3 kB / 20.79 MB, free: 2.316 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.506/1.506, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.9979/0.9979, allocations: 150 MB / 460.2 MB, free: 5.344 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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002047/0.002047, allocations: 68.97 kB / 0.6368 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1609, allocations: 89.13 MB / 0.7238 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01462/0.1755, allocations: 11.05 MB / 0.7346 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.1902, allocations: 8.927 MB / 0.7434 GB, free: 44 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.1917, allocations: 79.36 kB / 0.7434 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004888/0.1966, allocations: 1.698 MB / 0.7451 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.2012, allocations: 1.552 MB / 0.7466 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.2033, allocations: 0.6729 MB / 0.7473 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.2069, allocations: 2.286 MB / 0.7495 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.2088, allocations: 1.103 MB / 0.7506 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.2108, allocations: 1.035 MB / 0.7516 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.2128, allocations: 1.07 MB / 0.7526 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004031/0.2132, allocations: 140 kB / 0.7528 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.2152, allocations: 0.811 MB / 0.7535 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008192/0.216, allocations: 0.588 MB / 0.7541 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.2174, allocations: 0.8861 MB / 0.755 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.2214, allocations: 2.584 MB / 0.7575 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2214, allocations: 0 / 0.7575 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2214, allocations: 4 kB / 0.7575 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.771e-05/0.2215, allocations: 0 / 0.7575 GB, free: 1.465 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004063/0.2256, allocations: 2.066 MB / 0.7595 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.2256, allocations: 16.02 kB / 0.7595 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.561e-05/0.2257, allocations: 30.52 kB / 0.7596 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/0.2259, allocations: 186.1 kB / 0.7598 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.2379, allocations: 2.067 MB / 0.7618 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.2407, allocations: 1.213 MB / 0.763 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/0.2408, allocations: 90.44 kB / 0.763 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.2411, allocations: 116 kB / 0.7632 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00654/0.2476, allocations: 2.478 MB / 0.7656 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.2477, allocations: 11.89 kB / 0.7656 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.2479, allocations: 51.98 kB / 0.7656 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003976/0.2483, allocations: 130.1 kB / 0.7658 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008696/0.257, allocations: 2.541 MB / 0.7682 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01811/0.2751, allocations: 10.04 MB / 0.778 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007109/0.2822, allocations: 1.925 MB / 0.7799 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003326/0.2855, allocations: 0.9425 MB / 0.7808 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.415e-05/0.2856, allocations: 8.438 kB / 0.7809 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.2856, allocations: 39 kB / 0.7809 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/0.2856, allocations: 0 / 0.7809 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03645/0.3221, allocations: 8.717 MB / 0.7894 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.3221, allocations: 64 kB / 0.7895 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.324, allocations: 1.101 MB / 0.7905 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/0.3243, allocations: 41.7 kB / 0.7906 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009115/0.3252, allocations: 0.7551 MB / 0.7913 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004827/0.3257, allocations: 281.5 kB / 0.7916 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.3262, allocations: 206.5 kB / 0.7918 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002711/0.3265, allocations: 341.9 kB / 0.7921 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/0.3299, allocations: 1.071 MB / 0.7932 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003604/0.3335, allocations: 1.305 MB / 0.7944 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00697/0.3404, allocations: 2.386 MB / 0.7968 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3404, allocations: 8 kB / 0.7968 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009867/0.3503, allocations: 3.254 MB / 0.7999 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.3503, allocations: 8 kB / 0.8 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.3503, allocations: 12.09 kB / 0.8 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/0.3534, allocations: 0.7832 MB / 0.8007 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.3556, allocations: 415.3 kB / 0.8011 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.3751, allocations: 15.93 MB / 0.8167 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.3777, allocations: 295.5 kB / 0.817 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.3779, allocations: 47.97 kB / 0.817 GB, free: 2.055 MB / 0.6231 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 (82): * Single equations (assignments): 74 * 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.0009428/0.3788, allocations: 402 kB / 0.8174 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.3792, allocations: 151.1 kB / 0.8175 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/0.3895, allocations: 3.179 MB / 0.8206 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.3895, allocations: 8 kB / 0.8206 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.78e-05/0.3895, allocations: 12 kB / 0.8207 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.3895, allocations: 3.984 kB / 0.8207 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.4028, allocations: 4.889 MB / 0.8254 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.4028, allocations: 0 / 0.8254 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.4046, allocations: 351.4 kB / 0.8258 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002598/0.4072, allocations: 0.6976 MB / 0.8265 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.4073, allocations: 31.97 kB / 0.8265 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/0.4263, allocations: 15.54 MB / 0.8417 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.4263, allocations: 7.938 kB / 0.8417 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009272/0.4356, allocations: 3.021 MB / 0.8446 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009161/0.4365, allocations: 384 kB / 0.845 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.4367, allocations: 23.94 kB / 0.845 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/0.4387, allocations: 291.5 kB / 0.8453 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.439, allocations: 84.48 kB / 0.8454 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.4391, allocations: 35.97 kB / 0.8454 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001119/0.4402, allocations: 0.7366 MB / 0.8461 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4402, allocations: 0 / 0.8461 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001606/0.4418, allocations: 432 kB / 0.8465 GB, free: 2.391 MB / 0.6544 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.00941/0.4512, allocations: 3.595 MB / 0.85 GB, free: 14.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009422/0.4606, allocations: 3.519 MB / 0.8535 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.4606, allocations: 3.938 kB / 0.8535 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00562/0.4663, allocations: 2.328 MB / 0.8558 GB, free: 8.652 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.4689, allocations: 0.5292 MB / 0.8563 GB, free: 8.156 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4188/0.8878, allocations: 15.8 MB / 0.8717 GB, free: 129.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.8894, allocations: 1.389 MB / 0.8731 GB, free: 128.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002191/0.8915, allocations: 375.9 kB / 0.8734 GB, free: 128.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/0.8928, allocations: 0.5988 MB / 0.874 GB, free: 128.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.533e-06/0.8928, allocations: 0 / 0.874 GB, free: 128.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/0.9938, allocations: 41.79 MB / 0.9148 GB, free: 100.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.23, allocations: 1.406 kB / 0.9148 GB, free: 100.8 MB / 0.67 GB " [Timeout remaining time 644] (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: 20.31610316899605] Failed to read output from testmodel.py, exit status != 0: 16.400111344992183 16.41035167 16.186593696 Calling exit ...