Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001455/0.001455, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001506/0.001506, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9943/0.9943, allocations: 175.7 MB / 480.1 MB, free: 2.82 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.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 67.23 kB / 0.6677 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1525, allocations: 94.54 MB / 0.7601 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4783/0.6308, allocations: 148.3 MB / 0.9049 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001232/0.6309, allocations: 52.42 kB / 0.9049 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.6309, allocations: 1.094 kB / 0.9049 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.177e-05/0.631, allocations: 7.938 kB / 0.9049 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.6311, allocations: 18.83 kB / 0.905 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.6315, allocations: 105.1 kB / 0.9051 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.6316, allocations: 33.64 kB / 0.9051 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.6316, allocations: 4.312 kB / 0.9051 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.6317, allocations: 11.73 kB / 0.9051 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.6317, allocations: 17.27 kB / 0.9051 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.6317, allocations: 5.125 kB / 0.9051 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.632, allocations: 90.73 kB / 0.9052 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.632, allocations: 6.234 kB / 0.9052 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.632, allocations: 14.64 kB / 0.9052 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.6322, allocations: 73.42 kB / 0.9053 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6322, allocations: 3.938 kB / 0.9053 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6322, allocations: 3.938 kB / 0.9053 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.6322, allocations: 1 kB / 0.9053 GB, free: 7.797 MB / 0.6544 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.0003844/0.6326, allocations: 343.4 kB / 0.9056 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.6326, allocations: 8.75 kB / 0.9056 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.6326, allocations: 31.91 kB / 0.9057 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.6328, allocations: 20.69 kB / 0.9057 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.633, allocations: 165.2 kB / 0.9059 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.633, allocations: 31.08 kB / 0.9059 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.633, allocations: 4.594 kB / 0.9059 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.6332, allocations: 50 kB / 0.9059 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6332, allocations: 5.453 kB / 0.9059 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6332, allocations: 0 / 0.9059 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6332, allocations: 4.094 kB / 0.9059 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.6333, allocations: 21.22 kB / 0.906 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.6336, allocations: 257.8 kB / 0.9062 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.6336, allocations: 20.11 kB / 0.9062 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.6337, allocations: 11.06 kB / 0.9062 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.6337, allocations: 0 / 0.9062 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.6337, allocations: 35.31 kB / 0.9063 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.6337, allocations: 0 / 0.9063 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.6338, allocations: 37.3 kB / 0.9063 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.6339, allocations: 56.47 kB / 0.9064 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/0.634, allocations: 109.5 kB / 0.9065 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.634, allocations: 29.14 kB / 0.9065 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.634, allocations: 96 kB / 0.9066 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.634, allocations: 1.125 kB / 0.9066 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.6341, allocations: 22.84 kB / 0.9066 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6342, allocations: 311.9 kB / 0.9069 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.6342, allocations: 7.062 kB / 0.9069 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.6342, allocations: 21.42 kB / 0.9069 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.6343, allocations: 36.31 kB / 0.907 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6343, allocations: 0 / 0.907 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.736e-05/0.6344, allocations: 54.75 kB / 0.907 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6344, allocations: 5.625 kB / 0.907 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6344, allocations: 3.375 kB / 0.907 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6344, allocations: 5.438 kB / 0.907 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.717e-05/0.6345, allocations: 8.875 kB / 0.907 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6345, allocations: 5.812 kB / 0.907 GB, free: 6.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.6345, allocations: 5.016 kB / 0.9071 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.6345, allocations: 6.5 kB / 0.9071 GB, free: 6.008 MB / 0.6544 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.119e-05/0.6346, allocations: 113.9 kB / 0.9072 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.6346, allocations: 1.094 kB / 0.9072 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.6346, allocations: 11.28 kB / 0.9072 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.6346, allocations: 1.281 kB / 0.9072 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6346, allocations: 7.938 kB / 0.9072 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6346, allocations: 1.062 kB / 0.9072 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.6349, allocations: 340.5 kB / 0.9075 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6349, allocations: 1.156 kB / 0.9075 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.6349, allocations: 1.062 kB / 0.9075 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6349, allocations: 3.938 kB / 0.9075 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.6349, allocations: 5.094 kB / 0.9075 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6349, allocations: 3.938 kB / 0.9075 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6349, allocations: 7 kB / 0.9075 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.07e-05/0.635, allocations: 57.69 kB / 0.9076 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.6351, allocations: 85 kB / 0.9077 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.6351, allocations: 1.156 kB / 0.9077 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.6351, allocations: 4.172 kB / 0.9077 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.6352, allocations: 1.125 kB / 0.9077 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.6352, allocations: 0 / 0.9077 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.6352, allocations: 90.94 kB / 0.9078 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6352, allocations: 0 / 0.9078 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001766/0.6354, allocations: 6.25 kB / 0.9078 GB, free: 5.246 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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.0003512/0.6357, allocations: 0.5951 MB / 0.9084 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.973e-05/0.6358, allocations: 17.34 kB / 0.9084 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6358, allocations: 0 / 0.9084 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.674e-06/0.6358, allocations: 5.875 kB / 0.9084 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.636, allocations: 5.953 kB / 0.9084 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.6363, allocations: 142 kB / 0.9085 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.6366, allocations: 0.6789 MB / 0.9092 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.495e-05/0.6366, allocations: 14.56 kB / 0.9092 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.6367, allocations: 12.31 kB / 0.9092 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.6367, allocations: 0 / 0.9092 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.6586, allocations: 1.338 MB / 0.9105 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.653, allocations: 11.73 kB / 0.9105 GB, free: 3.414 MB / 0.6544 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.090673965009046]