Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.001961, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.159/2.159, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.115/1.115, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007453/0.0007454, allocations: 12 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8929/0.8937, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.2804/1.174, allocations: 125.9 MB / 0.7059 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00566/1.18, allocations: 3.021 MB / 0.7088 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/1.18, allocations: 8 kB / 0.7089 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004257/1.181, allocations: 43.72 kB / 0.7089 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004162/1.181, allocations: 95.72 kB / 0.709 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00383/1.185, allocations: 0.67 MB / 0.7096 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006222/1.186, allocations: 192.6 kB / 0.7098 GB, free: 14.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/1.186, allocations: 13.56 kB / 0.7098 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/1.186, allocations: 155.5 kB / 0.71 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/1.187, allocations: 91.67 kB / 0.7101 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/1.187, allocations: 8 kB / 0.7101 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/1.19, allocations: 0.6863 MB / 0.7108 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/1.19, allocations: 59.86 kB / 0.7108 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/1.19, allocations: 69.58 kB / 0.7109 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/1.191, allocations: 381.4 kB / 0.7112 GB, free: 12.9 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.191, allocations: 4 kB / 0.7112 GB, free: 12.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.789e-06/1.191, allocations: 0 / 0.7112 GB, free: 12.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.989e-05/1.191, allocations: 0 / 0.7112 GB, free: 12.89 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.002648/1.194, allocations: 0.5318 MB / 0.7118 GB, free: 12.32 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001142/1.194, allocations: 16.02 kB / 0.7118 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/1.195, allocations: 58.55 kB / 0.7118 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002458/1.197, allocations: 139.5 kB / 0.712 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/1.198, allocations: 214.8 kB / 0.7122 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.971e-05/1.198, allocations: 16.38 kB / 0.7122 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.198, allocations: 19.98 kB / 0.7122 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009995/1.199, allocations: 342 kB / 0.7125 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.199, allocations: 0 / 0.7125 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/1.199, allocations: 8 kB / 0.7125 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-05/1.199, allocations: 15.98 kB / 0.7126 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/1.2, allocations: 324 kB / 0.7129 GB, free: 11.12 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/1.202, allocations: 1.105 MB / 0.7139 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/1.203, allocations: 190.6 kB / 0.7141 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007675/1.204, allocations: 465.4 kB / 0.7146 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.204, allocations: 34.56 kB / 0.7146 GB, free: 9.137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 3.357e-06/1.204, allocations: 0 / 0.7146 GB, free: 9.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001101/1.205, allocations: 346.6 kB / 0.7149 GB, free: 8.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/1.205, allocations: 59.34 kB / 0.715 GB, free: 8.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/1.205, allocations: 204.4 kB / 0.7152 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/1.205, allocations: 33.64 kB / 0.7152 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/1.206, allocations: 147.9 kB / 0.7154 GB, free: 8.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/1.206, allocations: 67 kB / 0.7154 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/1.206, allocations: 8 kB / 0.7154 GB, free: 8.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.206, allocations: 326.8 kB / 0.7157 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/1.206, allocations: 68.22 kB / 0.7158 GB, free: 7.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/1.206, allocations: 160.8 kB / 0.716 GB, free: 7.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/1.207, allocations: 95.84 kB / 0.716 GB, free: 7.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.207, allocations: 4 kB / 0.7161 GB, free: 7.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007686/1.207, allocations: 278 kB / 0.7163 GB, free: 7.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/1.207, allocations: 4 kB / 0.7163 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.207, allocations: 4 kB / 0.7163 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/1.207, allocations: 4 kB / 0.7163 GB, free: 7.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/1.208, allocations: 55.91 kB / 0.7164 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/1.208, allocations: 11.92 kB / 0.7164 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/1.208, allocations: 35.59 kB / 0.7164 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/1.208, allocations: 20.25 kB / 0.7164 GB, free: 7.133 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002221/1.209, allocations: 145.7 kB / 0.7166 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.209, allocations: 23.8 kB / 0.7166 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/1.209, allocations: 264.9 kB / 0.7169 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/1.209, allocations: 3.984 kB / 0.7169 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.209, allocations: 0 / 0.7169 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/1.209, allocations: 7.953 kB / 0.7169 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.211, allocations: 0.5894 MB / 0.7174 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.211, allocations: 3.938 kB / 0.7175 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/1.211, allocations: 31.97 kB / 0.7175 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.211, allocations: 4 kB / 0.7175 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/1.211, allocations: 4 kB / 0.7175 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.211, allocations: 11.95 kB / 0.7175 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.211, allocations: 0 / 0.7175 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007892/1.212, allocations: 373 kB / 0.7179 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/1.212, allocations: 124.7 kB / 0.718 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/1.212, allocations: 0 / 0.718 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/1.212, allocations: 20.75 kB / 0.718 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/1.212, allocations: 15.97 kB / 0.718 GB, free: 5.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/1.213, allocations: 12 kB / 0.718 GB, free: 5.391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002002/1.213, allocations: 156.2 kB / 0.7182 GB, free: 5.238 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/1.213, allocations: 0 / 0.7182 GB, free: 5.238 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008205/1.214, allocations: 111.9 kB / 0.7183 GB, free: 5.129 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/1.215, allocations: 1.133 MB / 0.7194 GB, free: 3.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005471/1.216, allocations: 205.4 kB / 0.7196 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.216, allocations: 0 / 0.7196 GB, free: 3.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/1.216, allocations: 103.8 kB / 0.7197 GB, free: 3.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008414/1.217, allocations: 96.22 kB / 0.7198 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/1.222, allocations: 3.138 MB / 0.7228 GB, free: 332 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/1.222, allocations: 0.7406 MB / 0.7236 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004991/1.223, allocations: 58.25 kB / 0.7236 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/1.223, allocations: 59.42 kB / 0.7237 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.223e-06/1.223, allocations: 0 / 0.7237 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/1.255, allocations: 7.083 MB / 0.7306 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/1.255, allocations: 154.3 kB / 0.7307 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.058/4.313, allocations: 0 / 0.7307 GB, free: 8.309 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: