Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001267/0.001267, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001423/0.001423, allocations: 219.3 kB / 23.03 MB, free: 4.945 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8773/0.8773, allocations: 134 MB / 447.2 MB, free: 9.949 MB / 350.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/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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001968/0.001968, allocations: 68.8 kB / 0.6192 GB, free: 6.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1669, allocations: 85.91 MB / 0.7031 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5323/0.6991, allocations: 130.3 MB / 0.8303 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001694/0.6993, allocations: 51.89 kB / 0.8304 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.6993, allocations: 0 / 0.8304 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.6995, allocations: 3.938 kB / 0.8304 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.6996, allocations: 18.66 kB / 0.8304 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.7004, allocations: 207.6 kB / 0.8306 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.7005, allocations: 38.22 kB / 0.8306 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.7005, allocations: 0 / 0.8306 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.21e-05/0.7006, allocations: 26.34 kB / 0.8307 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.7006, allocations: 5.938 kB / 0.8307 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.7006, allocations: 0 / 0.8307 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.701, allocations: 167.9 kB / 0.8308 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.7011, allocations: 10.88 kB / 0.8308 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.7011, allocations: 13.12 kB / 0.8309 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.7013, allocations: 96.58 kB / 0.8309 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.7013, allocations: 7.922 kB / 0.831 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7013, allocations: 2.062 kB / 0.831 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7013, allocations: 0 / 0.831 GB, free: 13.73 MB / 0.6075 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.0004511/0.7018, allocations: 265.2 kB / 0.8312 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.7018, allocations: 7.938 kB / 0.8312 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.1e-05/0.7019, allocations: 192 / 0.8312 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.7019, allocations: 36.69 kB / 0.8312 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.7022, allocations: 30.31 kB / 0.8313 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.7023, allocations: 113.4 kB / 0.8314 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.458e-05/0.7024, allocations: 62.34 kB / 0.8314 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-06/0.7024, allocations: 0 / 0.8314 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.7026, allocations: 72.64 kB / 0.8315 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7026, allocations: 0 / 0.8315 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.7026, allocations: 0 / 0.8315 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.7026, allocations: 6.516 kB / 0.8315 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.7027, allocations: 29.3 kB / 0.8315 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.7031, allocations: 227.8 kB / 0.8318 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.324e-05/0.7031, allocations: 23.67 kB / 0.8318 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.7032, allocations: 7.766 kB / 0.8318 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.7033, allocations: 14.52 kB / 0.8318 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.7033, allocations: 33.47 kB / 0.8318 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.7033, allocations: 3.984 kB / 0.8318 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002591/0.7036, allocations: 55.03 kB / 0.8319 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.7036, allocations: 57.5 kB / 0.832 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/0.7037, allocations: 105.5 kB / 0.8321 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.7037, allocations: 25.7 kB / 0.8321 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.7038, allocations: 88.09 kB / 0.8322 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.7038, allocations: 6.859 kB / 0.8322 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.7038, allocations: 12.59 kB / 0.8322 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.704, allocations: 321 kB / 0.8325 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.704, allocations: 2.688 kB / 0.8325 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.704, allocations: 28.2 kB / 0.8325 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.704, allocations: 37.12 kB / 0.8326 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7041, allocations: 0 / 0.8326 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.546e-05/0.7041, allocations: 57.84 kB / 0.8326 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7042, allocations: 4.688 kB / 0.8326 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7042, allocations: 0 / 0.8326 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7042, allocations: 2.969 kB / 0.8326 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.7042, allocations: 9.062 kB / 0.8326 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.7042, allocations: 3.938 kB / 0.8326 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.7043, allocations: 6.922 kB / 0.8326 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.7043, allocations: 0 / 0.8326 GB, free: 11.97 MB / 0.6075 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 8.763e-05/0.7044, allocations: 112.3 kB / 0.8327 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.7044, allocations: 6.672 kB / 0.8327 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/0.7044, allocations: 7.312 kB / 0.8328 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7044, allocations: 2.281 kB / 0.8328 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7044, allocations: 7.875 kB / 0.8328 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7044, allocations: 0 / 0.8328 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.7047, allocations: 336.9 kB / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7047, allocations: 2.562 kB / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.7048, allocations: 7.094 kB / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7048, allocations: 0 / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.7048, allocations: 3.984 kB / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.7048, allocations: 5.688 kB / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7048, allocations: 0 / 0.8331 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.047e-05/0.7049, allocations: 68.55 kB / 0.8332 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.7049, allocations: 6.531 kB / 0.8332 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.7049, allocations: 4.078 kB / 0.8332 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.705, allocations: 6.656 kB / 0.8332 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.705, allocations: 6.25 kB / 0.8332 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.705, allocations: 0 / 0.8332 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.7051, allocations: 89.11 kB / 0.8333 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7051, allocations: 0 / 0.8333 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001935/0.7053, allocations: 5.25 kB / 0.8333 GB, free: 11.28 MB / 0.6075 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.0004084/0.7057, allocations: 0.6067 MB / 0.8339 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.082e-05/0.7057, allocations: 15.94 kB / 0.8339 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7057, allocations: 2.531 kB / 0.8339 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.7058, allocations: 6.875 kB / 0.8339 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.706, allocations: 10.77 kB / 0.8339 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.7064, allocations: 149.3 kB / 0.834 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.162e-05/0.7065, allocations: 64.75 kB / 0.8341 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.73e-05/0.7065, allocations: 13.81 kB / 0.8341 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.7065, allocations: 7.438 kB / 0.8341 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.7065, allocations: 2.844 kB / 0.8341 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.7277, allocations: 1.666 MB / 0.8358 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.67, allocations: 2.906 kB / 0.8358 GB, free: 9.488 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.411037045996636] Failed to read output from testmodel.py, exit status != 0: 11.830628913012333 11.84613257 11.141680024 Calling exit ...