Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.123/2.123, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 172.3 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.317/2.317, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001175, allocations: 101.9 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 8.969 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2144, allocations: 106.3 MB / 0.8989 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/0.4524, allocations: 135.4 MB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.4528, allocations: 79.94 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06838/0.5212, allocations: 16.62 MB / 1.047 GB, free: 9.051 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.995e-06/0.5213, allocations: 0 / 1.047 GB, free: 9.051 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.597e-05/0.5213, allocations: 28 kB / 1.047 GB, free: 9.023 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003789/0.5251, allocations: 1.243 MB / 1.049 GB, free: 7.723 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.5252, allocations: 12.02 kB / 1.049 GB, free: 7.711 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003952/0.5256, allocations: 147.6 kB / 1.049 GB, free: 7.559 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.526, allocations: 126.5 kB / 1.049 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.5273, allocations: 0.5958 MB / 1.05 GB, free: 6.797 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.5275, allocations: 151.1 kB / 1.05 GB, free: 6.629 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.5278, allocations: 92 kB / 1.05 GB, free: 6.539 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.5308, allocations: 0.9399 MB / 1.051 GB, free: 5.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.5309, allocations: 0 / 1.051 GB, free: 5.582 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.531, allocations: 40 kB / 1.051 GB, free: 5.543 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/0.5311, allocations: 27.98 kB / 1.051 GB, free: 5.516 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.5339, allocations: 0.7886 MB / 1.052 GB, free: 4.727 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008061/0.542, allocations: 2.854 MB / 1.054 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.5449, allocations: 0.7052 MB / 1.055 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.545, allocations: 12.55 kB / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/0.5466, allocations: 478 kB / 1.055 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.647e-06/0.5466, allocations: 0 / 1.055 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.59/1.137, allocations: 0.9422 MB / 1.056 GB, free: 145.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.137, allocations: 301.4 kB / 1.057 GB, free: 144.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/1.139, allocations: 0.7475 MB / 1.057 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001983/1.139, allocations: 44.58 kB / 1.057 GB, free: 144.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/1.139, allocations: 430.3 kB / 1.058 GB, free: 144.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/1.14, allocations: 229.9 kB / 1.058 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/1.14, allocations: 16.47 kB / 1.058 GB, free: 144.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/1.14, allocations: 332 kB / 1.058 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/1.141, allocations: 282.3 kB / 1.059 GB, free: 144.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/1.142, allocations: 432.5 kB / 1.059 GB, free: 144.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.143, allocations: 315.6 kB / 1.059 GB, free: 144.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.143, allocations: 0 / 1.059 GB, free: 144.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002641/1.146, allocations: 0.8159 MB / 1.06 GB, free: 144 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.146, allocations: 282.6 kB / 1.06 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.146, allocations: 2.812 kB / 1.06 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/1.146, allocations: 2.906 kB / 1.06 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.147, allocations: 152.1 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/1.147, allocations: 6.812 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.149, allocations: 161.7 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/1.149, allocations: 21.16 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.149, allocations: 5.875 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001783/1.151, allocations: 0.6133 MB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.151, allocations: 0 / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/1.151, allocations: 3.125 kB / 1.061 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.152, allocations: 135.5 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.152, allocations: 2.906 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/1.153, allocations: 141.4 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/1.153, allocations: 22.41 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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 0.0006332/1.153, allocations: 322.9 kB / 1.062 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/1.154, allocations: 93.91 kB / 1.062 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/1.156, allocations: 0.7959 MB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.156, allocations: 11.83 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.156, allocations: 1.094 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.156, allocations: 3.281 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/1.162, allocations: 1.815 MB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/1.162, allocations: 5.469 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.164, allocations: 143.6 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.607e-05/1.164, allocations: 5.906 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/1.164, allocations: 23.36 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/1.164, allocations: 7.734 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/1.164, allocations: 6.266 kB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006021/1.17, allocations: 1.382 MB / 1.066 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/1.171, allocations: 191.5 kB / 1.066 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/1.171, allocations: 25.47 kB / 1.066 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/1.172, allocations: 91.61 kB / 1.066 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/1.172, allocations: 52.34 kB / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.748e-05/1.172, allocations: 22.08 kB / 1.067 GB, free: 142.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001375/1.174, allocations: 0.5843 MB / 1.067 GB, free: 142.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.403e-06/1.174, allocations: 0 / 1.067 GB, free: 142.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001593/1.175, allocations: 311.6 kB / 1.067 GB, free: 142.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004734/1.18, allocations: 2.582 MB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004021/1.184, allocations: 1.02 MB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.629e-06/1.184, allocations: 5.5 kB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/1.186, allocations: 377.7 kB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/1.188, allocations: 191 kB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/1.194, allocations: 2.848 MB / 1.074 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/1.195, allocations: 1.015 MB / 1.075 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001019/1.196, allocations: 123.4 kB / 1.075 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008702/1.197, allocations: 382.4 kB / 1.076 GB, free: 138.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/1.197, allocations: 0 / 1.076 GB, free: 138.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07856/1.275, allocations: 17.49 MB / 1.093 GB, free: 135.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/1.276, allocations: 238 kB / 1.093 GB, free: 135.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.477/4.753, allocations: 4.062 kB / 1.093 GB, free: 135.3 MB / 0.698 GB