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.0008573/0.0008572, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009021/0.0009021, allocations: 172.7 kB / 15.95 MB, free: 208 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.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.426 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.596/2.596, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 12 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7255, allocations: 142.3 MB / 0.9538 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1718/0.8973, allocations: 135.2 MB / 1.086 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.9018, allocations: 3.329 MB / 1.089 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.902, allocations: 0 / 1.089 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.9024, allocations: 43.78 kB / 1.089 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.9028, allocations: 135.3 kB / 1.089 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.9052, allocations: 0.6449 MB / 1.09 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006937/0.9059, allocations: 411.6 kB / 1.09 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.906, allocations: 13.55 kB / 1.09 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006833/0.9067, allocations: 175.3 kB / 1.091 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.9071, allocations: 139.5 kB / 1.091 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.9072, allocations: 8 kB / 1.091 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.9094, allocations: 0.6586 MB / 1.091 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.9095, allocations: 67.83 kB / 1.091 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.9097, allocations: 61.58 kB / 1.091 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.9107, allocations: 393.4 kB / 1.092 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.9107, allocations: 0 / 1.092 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9107, allocations: 0 / 1.092 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.9107, allocations: 0 / 1.092 GB, free: 2.477 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.001238/0.912, allocations: 0.5497 MB / 1.092 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.912, allocations: 8.031 kB / 1.092 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.459e-05/0.9121, allocations: 62.53 kB / 1.092 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.9133, allocations: 135.6 kB / 1.093 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.9137, allocations: 218.8 kB / 1.093 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.9138, allocations: 16.38 kB / 1.093 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.9138, allocations: 16 kB / 1.093 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.9145, allocations: 334 kB / 1.093 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.9145, allocations: 3.953 kB / 1.093 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.9145, allocations: 15.94 kB / 1.093 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.806e-05/0.9146, allocations: 15.98 kB / 1.093 GB, free: 1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/0.9152, allocations: 320.1 kB / 1.093 GB, free: 0.6875 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.001853/0.9171, allocations: 1.113 MB / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.9176, allocations: 182.6 kB / 1.095 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.9177, allocations: 84.98 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/0.9183, allocations: 457.5 kB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.9184, allocations: 34.56 kB / 1.095 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.9184, allocations: 0 / 1.095 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0006818/0.9191, allocations: 265.3 kB / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.9191, allocations: 55.34 kB / 1.096 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.9194, allocations: 200 kB / 1.096 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.9194, allocations: 37.7 kB / 1.096 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.9195, allocations: 143.9 kB / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.9196, allocations: 70.94 kB / 1.096 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.9196, allocations: 8.109 kB / 1.096 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9198, allocations: 338.7 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.9199, allocations: 72.22 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.9201, allocations: 155.9 kB / 1.097 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.9202, allocations: 97.39 kB / 1.097 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9203, allocations: 0 / 1.097 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005213/0.9208, allocations: 277.4 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9208, allocations: 9.125 kB / 1.097 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9208, allocations: 4 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.9208, allocations: 4 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.9211, allocations: 59.92 kB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.9212, allocations: 15.88 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.9214, allocations: 31.59 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.9214, allocations: 19.94 kB / 1.097 GB, free: 12.71 MB / 0.8575 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.0001483/0.9216, allocations: 141.8 kB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.9217, allocations: 19.81 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.9222, allocations: 277.4 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.9222, allocations: 4 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.9223, allocations: 0 / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9223, allocations: 3.984 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.923, allocations: 0.5778 MB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9231, allocations: 3.953 kB / 1.098 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.9232, allocations: 35.98 kB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9233, allocations: 0 / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.9233, allocations: 4 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.9233, allocations: 7.922 kB / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9233, allocations: 0 / 1.098 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.9238, allocations: 349.7 kB / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.924, allocations: 128.7 kB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.924, allocations: 0 / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.9243, allocations: 19.98 kB / 1.099 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.9243, allocations: 11.98 kB / 1.099 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.9244, allocations: 12 kB / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001349/0.9245, allocations: 152.1 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9245, allocations: 0 / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005072/0.925, allocations: 115.9 kB / 1.099 GB, free: 10.76 MB / 0.8575 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.001359/0.9264, allocations: 0.9742 MB / 1.1 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.9268, allocations: 201.6 kB / 1.1 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9268, allocations: 3.938 kB / 1.1 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.927, allocations: 100.6 kB / 1.1 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.9276, allocations: 102 kB / 1.1 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.9296, allocations: 1.325 MB / 1.101 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.9299, allocations: 0.7406 MB / 1.102 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003133/0.9302, allocations: 58.25 kB / 1.102 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.9304, allocations: 55.42 kB / 1.102 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9304, allocations: 0 / 1.102 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.9514, allocations: 7.126 MB / 1.109 GB, free: 120 kB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/0.9517, allocations: 166.5 kB / 1.109 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.967, allocations: 0 / 1.109 GB, free: 15.88 MB / 0.8731 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