Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.709/2.709, allocations: 287.5 MB / 302.4 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 182.7 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009919/0.0009916, allocations: 85.3 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007319/0.0007322, allocations: 11.38 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2617, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.9126/1.174, allocations: 154.8 MB / 1.13 GB, free: 15.74 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009304/1.184, allocations: 5.551 MB / 1.135 GB, free: 13.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/1.184, allocations: 6.156 kB / 1.135 GB, free: 13.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007557/1.185, allocations: 137.1 kB / 1.135 GB, free: 13.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/1.185, allocations: 75.91 kB / 1.135 GB, free: 13.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/1.187, allocations: 358.3 kB / 1.136 GB, free: 13.56 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007097/1.188, allocations: 408.5 kB / 1.136 GB, free: 13.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/1.188, allocations: 95.83 kB / 1.136 GB, free: 13.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/1.189, allocations: 147.8 kB / 1.136 GB, free: 13.44 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/1.189, allocations: 124.8 kB / 1.136 GB, free: 13.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.4e-05/1.189, allocations: 7.219 kB / 1.136 GB, free: 13.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/1.19, allocations: 224.5 kB / 1.137 GB, free: 13.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/1.19, allocations: 57.62 kB / 1.137 GB, free: 13.35 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.883e-05/1.19, allocations: 60.95 kB / 1.137 GB, free: 13.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/1.191, allocations: 275.1 kB / 1.137 GB, free: 13.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.191, allocations: 0 / 1.137 GB, free: 13.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/1.191, allocations: 0 / 1.137 GB, free: 13.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.191, allocations: 0 / 1.137 GB, free: 13.27 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007339/1.192, allocations: 492.7 kB / 1.137 GB, free: 12.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.192, allocations: 11.77 kB / 1.137 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.1e-05/1.192, allocations: 66.19 kB / 1.138 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/1.192, allocations: 44.7 kB / 1.138 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/1.192, allocations: 251.9 kB / 1.138 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/1.193, allocations: 135 kB / 1.138 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/1.193, allocations: 27.19 kB / 1.138 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/1.193, allocations: 289.7 kB / 1.138 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.193, allocations: 1.469 kB / 1.138 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/1.193, allocations: 14.2 kB / 1.138 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/1.193, allocations: 6 kB / 1.138 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/1.194, allocations: 154.5 kB / 1.138 GB, free: 12.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/1.196, allocations: 1.584 MB / 1.14 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/1.196, allocations: 175.3 kB / 1.14 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/1.196, allocations: 80.14 kB / 1.14 GB, free: 10.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/1.196, allocations: 79.28 kB / 1.14 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.982e-05/1.196, allocations: 110 kB / 1.14 GB, free: 10.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 3.567e-06/1.196, allocations: 0 / 1.14 GB, free: 10.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001597/1.196, allocations: 54.47 kB / 1.14 GB, free: 10.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/1.197, allocations: 129.2 kB / 1.141 GB, free: 10.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/1.197, allocations: 315 kB / 1.141 GB, free: 10.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.197, allocations: 25.7 kB / 1.141 GB, free: 10.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/1.197, allocations: 196.1 kB / 1.141 GB, free: 10.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-06/1.197, allocations: 2.812 kB / 1.141 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/1.197, allocations: 3.375 kB / 1.141 GB, free: 10.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.198, allocations: 331 kB / 1.141 GB, free: 9.742 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/1.198, allocations: 37.34 kB / 1.141 GB, free: 9.742 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/1.198, allocations: 158.1 kB / 1.142 GB, free: 9.578 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/1.198, allocations: 64.94 kB / 1.142 GB, free: 9.566 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.198, allocations: 2.75 kB / 1.142 GB, free: 9.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006206/1.199, allocations: 212.1 kB / 1.142 GB, free: 9.496 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.199, allocations: 8.594 kB / 1.142 GB, free: 9.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.199, allocations: 7.656 kB / 1.142 GB, free: 9.496 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.199, allocations: 5.75 kB / 1.142 GB, free: 9.496 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/1.199, allocations: 39.48 kB / 1.142 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.199, allocations: 12.12 kB / 1.142 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/1.199, allocations: 33.22 kB / 1.142 GB, free: 9.469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/1.2, allocations: 8.031 kB / 1.142 GB, free: 9.469 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002167/1.2, allocations: 226.5 kB / 1.142 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.2, allocations: 123.6 kB / 1.142 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.458e-05/1.2, allocations: 125.3 kB / 1.142 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.61e-05/1.2, allocations: 180.6 kB / 1.143 GB, free: 8.859 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-05/1.2, allocations: 182.6 kB / 1.143 GB, free: 8.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.42e-05/1.2, allocations: 180.2 kB / 1.143 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/1.201, allocations: 485.3 kB / 1.143 GB, free: 8.051 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.55e-05/1.201, allocations: 108.9 kB / 1.143 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/1.201, allocations: 103.7 kB / 1.144 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-05/1.201, allocations: 180.2 kB / 1.144 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/1.201, allocations: 184 kB / 1.144 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.216e-05/1.201, allocations: 188.9 kB / 1.144 GB, free: 7.281 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-05/1.201, allocations: 180.2 kB / 1.144 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/1.201, allocations: 321.1 kB / 1.145 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/1.201, allocations: 205.8 kB / 1.145 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.202, allocations: 183 kB / 1.145 GB, free: 6.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/1.202, allocations: 108.9 kB / 1.145 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/1.202, allocations: 181.5 kB / 1.145 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/1.202, allocations: 103.5 kB / 1.145 GB, free: 5.984 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003835/1.202, allocations: 223.7 kB / 1.146 GB, free: 5.898 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.202, allocations: 0 / 1.146 GB, free: 5.898 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005009/1.203, allocations: 44.56 kB / 1.146 GB, free: 5.895 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.000643/1.204, allocations: 0.86 MB / 1.146 GB, free: 5.062 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003251/1.204, allocations: 75.31 kB / 1.146 GB, free: 5.051 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.204, allocations: 0 / 1.146 GB, free: 5.051 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/1.204, allocations: 1.25 kB / 1.146 GB, free: 5.051 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007591/1.205, allocations: 0.5552 MB / 1.147 GB, free: 4.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/1.207, allocations: 1.247 MB / 1.148 GB, free: 3.785 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/1.208, allocations: 0.7414 MB / 1.149 GB, free: 3.086 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002702/1.208, allocations: 31.34 kB / 1.149 GB, free: 3.082 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/1.208, allocations: 60.75 kB / 1.149 GB, free: 3.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/1.208, allocations: 0 / 1.149 GB, free: 3.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/1.24, allocations: 3.83 MB / 1.153 GB, free: 1.934 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003204/1.241, allocations: 188.7 kB / 1.153 GB, free: 1.699 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.908, allocations: 1.562 kB / 1.153 GB, free: 1.699 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)