Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 387.1 MB / 399.7 MB, free: 9.434 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 172.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009491, allocations: 91.05 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.122e-05/4.136e-05, allocations: 5.75 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2969, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9937/1.291, allocations: 151.5 MB / 1.36 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.291, allocations: 83.39 kB / 1.36 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0149/1.306, allocations: 5.305 MB / 1.366 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.306, allocations: 0 / 1.366 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.305e-05/1.306, allocations: 7.906 kB / 1.366 GB, free: 34.18 MB / 0.8386 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.0004652/1.306, allocations: 453.2 kB / 1.366 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.307, allocations: 11.59 kB / 1.366 GB, free: 33.77 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/1.307, allocations: 30.56 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/1.307, allocations: 18.53 kB / 1.366 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/1.307, allocations: 424.5 kB / 1.367 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/1.307, allocations: 4 kB / 1.367 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/1.307, allocations: 7.219 kB / 1.367 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/1.307, allocations: 64.59 kB / 1.367 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.307, allocations: 0 / 1.367 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.307, allocations: 3.984 kB / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.307, allocations: 0 / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/1.307, allocations: 50.14 kB / 1.367 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/1.308, allocations: 300.6 kB / 1.367 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/1.308, allocations: 90.77 kB / 1.367 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/1.308, allocations: 33.89 kB / 1.367 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/1.308, allocations: 17.91 kB / 1.367 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/1.308, allocations: 30.56 kB / 1.367 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/1.308, allocations: 0 / 1.367 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002164/1.308, allocations: 98.69 kB / 1.367 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/1.308, allocations: 51.41 kB / 1.367 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/1.309, allocations: 451.3 kB / 1.368 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/1.309, allocations: 32.67 kB / 1.368 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/1.309, allocations: 128.9 kB / 1.368 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/1.309, allocations: 7.844 kB / 1.368 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/1.309, allocations: 3.906 kB / 1.368 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.309, allocations: 335 kB / 1.368 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/1.309, allocations: 29.52 kB / 1.368 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/1.309, allocations: 50.17 kB / 1.368 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.647e-05/1.309, allocations: 28.95 kB / 1.368 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.309, allocations: 0 / 1.368 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001422/1.309, allocations: 105.3 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.309, allocations: 3.875 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.309, allocations: 0 / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.309, allocations: 3.969 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/1.31, allocations: 14.48 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.31, allocations: 3.984 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/1.31, allocations: 17.39 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/1.31, allocations: 11.72 kB / 1.368 GB, free: 32.45 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/1.31, allocations: 113.5 kB / 1.369 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/1.31, allocations: 15.53 kB / 1.369 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/1.31, allocations: 128.8 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/1.31, allocations: 0 / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.31, allocations: 3.844 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.31, allocations: 4 kB / 1.369 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/1.31, allocations: 227.3 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.31, allocations: 3.75 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/1.31, allocations: 14.14 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.31, allocations: 2.297 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/1.31, allocations: 0 / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.31, allocations: 0 / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.31, allocations: 3.844 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/1.311, allocations: 132.1 kB / 1.369 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/1.311, allocations: 138 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/1.311, allocations: 0 / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/1.311, allocations: 10.42 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/1.311, allocations: 0 / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/1.311, allocations: 7.719 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000341/1.311, allocations: 368 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.311, allocations: 0 / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003534/1.312, allocations: 103.5 kB / 1.37 GB, free: 31.81 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005627/1.312, allocations: 0.7235 MB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000107/1.312, allocations: 47.25 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.312, allocations: 0 / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/1.312, allocations: 29.34 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/1.313, allocations: 19.03 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/1.313, allocations: 286.9 kB / 1.371 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/1.313, allocations: 0.7346 MB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001704/1.314, allocations: 62.36 kB / 1.372 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/1.314, allocations: 74.59 kB / 1.372 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.314, allocations: 0 / 1.372 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/1.331, allocations: 4.913 MB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/1.332, allocations: 167.4 kB / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/3.157, allocations: 0 / 1.377 GB, free: 29.71 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat does not exist to compare? outputFormat=mat