Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_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.001325/0.001325, 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.001437/0.001437, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8056, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1811/0.9867, allocations: 125.9 MB / 1.077 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005643/0.9924, allocations: 3.013 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.9926, allocations: 4 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.993, allocations: 51.72 kB / 1.08 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.9934, allocations: 91.72 kB / 1.08 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.9964, allocations: 0.6739 MB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000449/0.9968, allocations: 188.6 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.9969, allocations: 17.55 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005458/0.9975, allocations: 159.5 kB / 1.081 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.9977, allocations: 95.72 kB / 1.081 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.9977, allocations: 11.98 kB / 1.081 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.9999, allocations: 0.6863 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/1, allocations: 55.89 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/1, allocations: 65.56 kB / 1.082 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007626/1.001, allocations: 381.4 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.001, allocations: 0 / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.746e-06/1.001, allocations: 0 / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.001, allocations: 0 / 1.082 GB, free: 12.48 MB / 0.8419 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.001413/1.002, allocations: 0.543 MB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.002, allocations: 8.031 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.458e-05/1.002, allocations: 54.55 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.004, allocations: 139.6 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/1.004, allocations: 222.8 kB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.004, allocations: 12.38 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/1.004, allocations: 16 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/1.005, allocations: 342.1 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.005, allocations: 3.953 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/1.005, allocations: 8 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/1.005, allocations: 19.94 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/1.005, allocations: 320.1 kB / 1.083 GB, free: 10.7 MB / 0.8419 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.001862/1.007, allocations: 1.113 MB / 1.085 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/1.008, allocations: 182.7 kB / 1.085 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/1.008, allocations: 457.5 kB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/1.008, allocations: 38.67 kB / 1.085 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 2.325e-06/1.009, allocations: 7.875 kB / 1.085 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0007298/1.009, allocations: 342.9 kB / 1.086 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/1.009, allocations: 55.41 kB / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/1.01, allocations: 212 kB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/1.01, allocations: 29.7 kB / 1.086 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/1.01, allocations: 139.9 kB / 1.086 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-05/1.01, allocations: 78.98 kB / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/1.01, allocations: 4 kB / 1.086 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002035/1.01, allocations: 326.8 kB / 1.086 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/1.01, allocations: 72.22 kB / 1.086 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/1.01, allocations: 163.9 kB / 1.087 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/1.011, allocations: 89.41 kB / 1.087 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.011, allocations: 3.984 kB / 1.087 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005385/1.011, allocations: 273.9 kB / 1.087 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.011, allocations: 9.25 kB / 1.087 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.011, allocations: 0 / 1.087 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.011, allocations: 8 kB / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/1.011, allocations: 67.84 kB / 1.087 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/1.011, allocations: 7.953 kB / 1.087 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/1.012, allocations: 35.58 kB / 1.087 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/1.012, allocations: 12.22 kB / 1.087 GB, free: 6.715 MB / 0.8419 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.0001874/1.012, allocations: 141.7 kB / 1.087 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/1.012, allocations: 23.8 kB / 1.087 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005483/1.013, allocations: 269.5 kB / 1.087 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/1.013, allocations: 7.953 kB / 1.087 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.013, allocations: 3.938 kB / 1.088 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.013, allocations: 0 / 1.088 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008902/1.014, allocations: 0.5894 MB / 1.088 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.014, allocations: 0 / 1.088 GB, free: 5.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/1.014, allocations: 35.94 kB / 1.088 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.014, allocations: 0 / 1.088 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.014, allocations: 8 kB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.014, allocations: 0 / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.014, allocations: 0 / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005979/1.014, allocations: 369 kB / 1.088 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/1.015, allocations: 128.7 kB / 1.089 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/1.015, allocations: 8 kB / 1.089 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.015, allocations: 19.98 kB / 1.089 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/1.015, allocations: 15.94 kB / 1.089 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/1.015, allocations: 15.98 kB / 1.089 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001354/1.015, allocations: 144.1 kB / 1.089 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/1.015, allocations: 0 / 1.089 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005588/1.016, allocations: 115.9 kB / 1.089 GB, free: 4.719 MB / 0.8419 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.001291/1.017, allocations: 1.146 MB / 1.09 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004135/1.017, allocations: 202 kB / 1.09 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.017, allocations: 4 kB / 1.09 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/1.018, allocations: 99.88 kB / 1.09 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/1.018, allocations: 97.91 kB / 1.09 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/1.021, allocations: 3.121 MB / 1.093 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/1.022, allocations: 0.7484 MB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003521/1.022, allocations: 58.25 kB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.022, allocations: 63.23 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of SimCode: time 1.924e-06/1.022, allocations: 4 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/1.044, allocations: 7.095 MB / 1.101 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.044, allocations: 163.6 kB / 1.101 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.96, allocations: 0 / 1.101 GB, free: 7.859 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.AirProperties_res.mat does not exist to compare? outputFormat=mat