Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001125/0.001125, allocations: 109.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001198/0.001198, allocations: 214.2 kB / 22.25 MB, free: 3.578 MB / 13.93 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 0.9909/0.9909, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7799/0.7799, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",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.001087/0.001087, allocations: 67.53 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6194/0.6205, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005561/0.6261, allocations: 3.236 MB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001332/0.6262, allocations: 49.62 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.6262, allocations: 0 / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.6264, allocations: 6.484 kB / 0.821 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.6265, allocations: 21.89 kB / 0.821 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008668/0.6274, allocations: 187.2 kB / 0.8212 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.6275, allocations: 37.78 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.493e-05/0.6276, allocations: 1.188 kB / 0.8213 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.6277, allocations: 18.95 kB / 0.8213 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.6278, allocations: 13.69 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.6278, allocations: 6.344 kB / 0.8213 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.6282, allocations: 130.2 kB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.6283, allocations: 3.547 kB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.6284, allocations: 14.67 kB / 0.8214 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.6287, allocations: 119.8 kB / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.6287, allocations: 0 / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.931e-06/0.6287, allocations: 3.938 kB / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.6287, allocations: 0 / 0.8215 GB, free: 14.54 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005782/0.6293, allocations: 269 kB / 0.8218 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.351e-05/0.6294, allocations: 15.56 kB / 0.8218 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.6294, allocations: 35.45 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.6295, allocations: 3 kB / 0.8219 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.6296, allocations: 107.5 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.765e-05/0.6297, allocations: 52.72 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.6297, allocations: 4.125 kB / 0.822 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.6299, allocations: 69.33 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6299, allocations: 0.7031 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.63, allocations: 0 / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.63, allocations: 2.281 kB / 0.8221 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.255e-05/0.63, allocations: 24.16 kB / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.6307, allocations: 271 kB / 0.8224 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.6308, allocations: 14.58 kB / 0.8224 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.696e-05/0.6308, allocations: 16.2 kB / 0.8224 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.6309, allocations: 33.67 kB / 0.8224 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.631, allocations: 33.3 kB / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.464e-06/0.631, allocations: 0 / 0.8225 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002152/0.6312, allocations: 41.05 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.6312, allocations: 56.67 kB / 0.8226 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.6314, allocations: 105.2 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.6314, allocations: 25.7 kB / 0.8227 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.6314, allocations: 89.36 kB / 0.8228 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.6315, allocations: 5.828 kB / 0.8228 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.6315, allocations: 13.69 kB / 0.8228 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6316, allocations: 322.9 kB / 0.8231 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.6316, allocations: 3.125 kB / 0.8231 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.6317, allocations: 15.41 kB / 0.8231 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.6317, allocations: 24.92 kB / 0.8231 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6317, allocations: 4 kB / 0.8231 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.909e-05/0.6318, allocations: 45.52 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6318, allocations: 5.281 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.6318, allocations: 6.422 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6319, allocations: 0 / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.6319, allocations: 8.625 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.632, allocations: 2.969 kB / 0.8232 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.632, allocations: 3.938 kB / 0.8232 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.632, allocations: 2.625 kB / 0.8232 GB, free: 12.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.928e-05/0.6321, allocations: 113.8 kB / 0.8233 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.6321, allocations: 1.312 kB / 0.8233 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.6323, allocations: 123.8 kB / 0.8234 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.354e-05/0.6324, allocations: 187 kB / 0.8236 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.166e-05/0.6324, allocations: 176.3 kB / 0.8238 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.516e-05/0.6325, allocations: 184.6 kB / 0.824 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.6327, allocations: 379.4 kB / 0.8243 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.313e-05/0.6327, allocations: 106 kB / 0.8244 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.6328, allocations: 106 kB / 0.8245 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.4e-05/0.6328, allocations: 177.8 kB / 0.8247 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/0.6329, allocations: 193.6 kB / 0.8249 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.926e-05/0.6329, allocations: 180.7 kB / 0.825 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.666e-05/0.633, allocations: 181.7 kB / 0.8252 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.6332, allocations: 312.5 kB / 0.8255 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.6332, allocations: 106.4 kB / 0.8256 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.044e-05/0.6333, allocations: 177.7 kB / 0.8258 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.6334, allocations: 112.2 kB / 0.8259 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.6335, allocations: 177.7 kB / 0.8261 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.6336, allocations: 107.9 kB / 0.8262 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.852e-05/0.6336, allocations: 89.09 kB / 0.8263 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6336, allocations: 4 kB / 0.8263 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003089/0.6339, allocations: 43.44 kB / 0.8263 GB, free: 9.574 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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.0006456/0.6346, allocations: 0.8569 MB / 0.8271 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.6347, allocations: 11.84 kB / 0.8271 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6347, allocations: 1.125 kB / 0.8271 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.6347, allocations: 3.938 kB / 0.8272 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.6352, allocations: 464.5 kB / 0.8276 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.6367, allocations: 1.33 MB / 0.8289 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.564e-05/0.6367, allocations: 61.53 kB / 0.829 GB, free: 6.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.645e-05/0.6368, allocations: 9.594 kB / 0.829 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.6369, allocations: 9.062 kB / 0.829 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.6369, allocations: 1.062 kB / 0.829 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.6592, allocations: 2.67 MB / 0.8316 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.584/7.244, allocations: 8.812 kB / 0.8316 GB, free: 5.898 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.35653814021498] Failed to read output from testmodel.py, exit status != 0: 7.32405976485461 7.338622924 6.706298101 Calling exit ...