Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.001219/0.001219, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001424/0.001424, allocations: 216.4 kB / 23.03 MB, free: 4.906 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002519/0.002519, allocations: 287.2 kB / 313.5 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.191/1.191, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002738/0.002738, allocations: 90.05 kB / 0.7402 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1725, allocations: 95.39 MB / 0.8334 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1675/0.34, allocations: 130.3 MB / 0.9606 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0002088/0.3402, allocations: 47.88 kB / 0.9607 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.3403, allocations: 0 / 0.9607 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.3404, allocations: 7.922 kB / 0.9607 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.3405, allocations: 7.922 kB / 0.9607 GB, free: 5.453 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3417, allocations: 211.2 kB / 0.9609 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.3418, allocations: 39.84 kB / 0.9609 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.366e-05/0.3419, allocations: 0 / 0.9609 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.3419, allocations: 15.97 kB / 0.9609 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.185e-05/0.342, allocations: 11.94 kB / 0.9609 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.342, allocations: 0 / 0.9609 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005019/0.3425, allocations: 171.4 kB / 0.9611 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.3426, allocations: 15.97 kB / 0.9611 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.3426, allocations: 7.938 kB / 0.9611 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.343, allocations: 100 kB / 0.9612 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.343, allocations: 0 / 0.9612 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.314e-06/0.343, allocations: 0 / 0.9612 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.343, allocations: 0 / 0.9612 GB, free: 4.891 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006373/0.3436, allocations: 266.3 kB / 0.9615 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.3437, allocations: 9.344 kB / 0.9615 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.521e-05/0.3437, allocations: 8.188 kB / 0.9615 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.3438, allocations: 34.69 kB / 0.9615 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.3442, allocations: 32.84 kB / 0.9616 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3444, allocations: 114 kB / 0.9617 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.294e-05/0.3445, allocations: 55.39 kB / 0.9617 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3445, allocations: 4 kB / 0.9617 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3447, allocations: 75.38 kB / 0.9618 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3447, allocations: 0 / 0.9618 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3447, allocations: 0 / 0.9618 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.3448, allocations: 8 kB / 0.9618 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.672e-05/0.3448, allocations: 23.92 kB / 0.9618 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.3453, allocations: 228 kB / 0.962 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.3453, allocations: 18.58 kB / 0.9621 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.3454, allocations: 16.91 kB / 0.9621 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.3455, allocations: 12 kB / 0.9621 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3455, allocations: 34.56 kB / 0.9621 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3455, allocations: 0 / 0.9621 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0002854/0.3458, allocations: 53.72 kB / 0.9622 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3459, allocations: 59.34 kB / 0.9622 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.346, allocations: 101.8 kB / 0.9623 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.346, allocations: 25.7 kB / 0.9623 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.3461, allocations: 88.09 kB / 0.9624 GB, free: 3.461 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.3461, allocations: 11.88 kB / 0.9624 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.3461, allocations: 17.72 kB / 0.9625 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3463, allocations: 310.8 kB / 0.9628 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3463, allocations: 4 kB / 0.9628 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.3463, allocations: 26.56 kB / 0.9628 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.3464, allocations: 38.55 kB / 0.9628 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3464, allocations: 0 / 0.9628 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.594e-05/0.3465, allocations: 57.58 kB / 0.9629 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3465, allocations: 4 kB / 0.9629 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3465, allocations: 0 / 0.9629 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3465, allocations: 4 kB / 0.9629 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.603e-05/0.3466, allocations: 7.938 kB / 0.9629 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3466, allocations: 96 / 0.9629 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.7e-05/0.3466, allocations: 8 kB / 0.9629 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.3466, allocations: 0 / 0.9629 GB, free: 2.941 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0001215/0.3468, allocations: 122.4 kB / 0.963 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.3468, allocations: 3.938 kB / 0.963 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.3468, allocations: 7.312 kB / 0.963 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3468, allocations: 4.219 kB / 0.963 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3468, allocations: 0 / 0.963 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3468, allocations: 3.984 kB / 0.963 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.3472, allocations: 334.7 kB / 0.9634 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3472, allocations: 15.94 kB / 0.9634 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.3473, allocations: 0 / 0.9634 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.3473, allocations: 4 kB / 0.9634 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3473, allocations: 0 / 0.9634 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3473, allocations: 0 / 0.9634 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3473, allocations: 0 / 0.9634 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.3474, allocations: 77.94 kB / 0.9634 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.3474, allocations: 7.938 kB / 0.9635 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.3474, allocations: 0 / 0.9635 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.3475, allocations: 4 kB / 0.9635 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.3475, allocations: 7.969 kB / 0.9635 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.3475, allocations: 0 / 0.9635 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.3476, allocations: 83.27 kB / 0.9635 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3476, allocations: 0 / 0.9635 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000197/0.3478, allocations: 12 kB / 0.9636 GB, free: 2.18 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004371/0.3482, allocations: 0.6016 MB / 0.9641 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 9.706e-05/0.3483, allocations: 20.09 kB / 0.9642 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3483, allocations: 4 kB / 0.9642 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.3483, allocations: 0 / 0.9642 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3486, allocations: 7.984 kB / 0.9642 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.349, allocations: 157.2 kB / 0.9643 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.204e-05/0.3491, allocations: 63.34 kB / 0.9644 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 9.039e-05/0.3492, allocations: 8.188 kB / 0.9644 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.3492, allocations: 11.44 kB / 0.9644 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of SimCode: time 2.71e-07/0.3492, allocations: 0 / 0.9644 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.3722, allocations: 1.688 MB / 0.9661 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.88, allocations: 8 kB / 0.9661 GB, free: 15.68 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.994131572078913] Failed to read output from testmodel.py, exit status != 0: 11.049341663019732 11.065799756 10.719517604 Calling exit ...