Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 104.3 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.027/1.027, allocations: 175.7 MB / 478.4 MB, free: 3.414 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 68.22 kB / 0.6652 GB, free: 11.38 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.194, allocations: 94.55 MB / 0.7575 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006486/0.2005, allocations: 4.573 MB / 0.762 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2016, allocations: 0.8178 MB / 0.7628 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.2017, allocations: 0 / 0.7628 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.2019, allocations: 35.77 kB / 0.7628 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.202, allocations: 39.64 kB / 0.7629 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.2025, allocations: 179.3 kB / 0.763 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2027, allocations: 175.4 kB / 0.7632 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.2028, allocations: 9.125 kB / 0.7632 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.203, allocations: 87.67 kB / 0.7633 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2031, allocations: 79.73 kB / 0.7634 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.2031, allocations: 12 kB / 0.7634 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.2035, allocations: 159.7 kB / 0.7635 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.2035, allocations: 31.91 kB / 0.7636 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.2036, allocations: 71.64 kB / 0.7636 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.204, allocations: 231.2 kB / 0.7639 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.204, allocations: 3.984 kB / 0.7639 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.204, allocations: 0 / 0.7639 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.204, allocations: 4 kB / 0.7639 GB, free: 11.19 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009683/0.205, allocations: 478.6 kB / 0.7643 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.205, allocations: 12.03 kB / 0.7643 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.205, allocations: 34.75 kB / 0.7644 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2051, allocations: 16.84 kB / 0.7644 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2053, allocations: 192.1 kB / 0.7646 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2053, allocations: 11.94 kB / 0.7646 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.2053, allocations: 12 kB / 0.7646 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.2057, allocations: 113.5 kB / 0.7647 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2057, allocations: 0 / 0.7647 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2057, allocations: 8 kB / 0.7647 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2057, allocations: 0 / 0.7647 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.2061, allocations: 143.9 kB / 0.7649 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.2071, allocations: 472.4 kB / 0.7653 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.2074, allocations: 110.5 kB / 0.7654 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.2076, allocations: 68.75 kB / 0.7655 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.209, allocations: 0.9644 MB / 0.7664 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2091, allocations: 34.56 kB / 0.7664 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.2091, allocations: 0 / 0.7664 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0006848/0.2097, allocations: 217.3 kB / 0.7667 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.2098, allocations: 55.41 kB / 0.7667 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.2099, allocations: 157.2 kB / 0.7669 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.21, allocations: 29.7 kB / 0.7669 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.2101, allocations: 116.4 kB / 0.767 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.2101, allocations: 39.69 kB / 0.767 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.2102, allocations: 49.69 kB / 0.7671 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2103, allocations: 322.8 kB / 0.7674 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2105, allocations: 79.89 kB / 0.7675 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.2108, allocations: 111.3 kB / 0.7676 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.2112, allocations: 178.8 kB / 0.7677 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2112, allocations: 0 / 0.7677 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005739/0.2118, allocations: 257.2 kB / 0.768 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2118, allocations: 4 kB / 0.768 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2118, allocations: 0 / 0.768 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2118, allocations: 4 kB / 0.768 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.2121, allocations: 55.95 kB / 0.768 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2121, allocations: 3.938 kB / 0.7681 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.2123, allocations: 35.77 kB / 0.7681 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.2123, allocations: 8.094 kB / 0.7681 GB, free: 6.473 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.2124, allocations: 121.8 kB / 0.7682 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.2124, allocations: 19.84 kB / 0.7682 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.2129, allocations: 174.9 kB / 0.7684 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2129, allocations: 3.984 kB / 0.7684 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2129, allocations: 0 / 0.7684 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2129, allocations: 11.98 kB / 0.7684 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.2132, allocations: 209.6 kB / 0.7686 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2132, allocations: 3.938 kB / 0.7686 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2134, allocations: 23.98 kB / 0.7686 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2134, allocations: 0 / 0.7686 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2134, allocations: 11.98 kB / 0.7686 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2134, allocations: 0 / 0.7686 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2134, allocations: 0 / 0.7686 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.2138, allocations: 263.7 kB / 0.7689 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.2139, allocations: 104.9 kB / 0.769 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2139, allocations: 4 kB / 0.769 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2141, allocations: 15.98 kB / 0.769 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.2141, allocations: 7.984 kB / 0.769 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2141, allocations: 8 kB / 0.769 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.916e-05/0.2142, allocations: 116.9 kB / 0.7691 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2142, allocations: 0 / 0.7691 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003336/0.2146, allocations: 67.86 kB / 0.7692 GB, free: 5.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009508/0.2155, allocations: 0.8409 MB / 0.77 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.216, allocations: 163.8 kB / 0.7702 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.216, allocations: 3.938 kB / 0.7702 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.2162, allocations: 67.88 kB / 0.7703 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.2166, allocations: 16.19 kB / 0.7703 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.2193, allocations: 1.959 MB / 0.7722 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.2197, allocations: 0.7086 MB / 0.7729 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.67e-05/0.2198, allocations: 13.52 kB / 0.7729 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.2198, allocations: 35.44 kB / 0.7729 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2198, allocations: 0 / 0.7729 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.2474, allocations: 4.299 MB / 0.7771 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.496, allocations: 3.672 kB / 0.7771 GB, free: 13.12 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.374321426264942] Failed to read output from testmodel.py, exit status != 0: 8.566462018992752 8.589073883 8.380994758 Calling exit ...