Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.007655/0.007655, allocations: 105 kB / 15.74 MB, free: 6.02 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.002068/0.002068, allocations: 193.4 kB / 16.68 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002487/0.002487, allocations: 293.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.193/1.193, allocations: 178.5 MB / 0.5074 GB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002823/0.002823, allocations: 103.8 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3749, allocations: 89.13 MB / 0.7813 GB, free: 1.176 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.176/0.551, allocations: 147.9 MB / 0.9258 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006007/0.557, allocations: 4.638 MB / 0.9304 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.5574, allocations: 8 kB / 0.9304 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006078/0.558, allocations: 170.8 kB / 0.9305 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.5584, allocations: 83.5 kB / 0.9306 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.5586, allocations: 63.86 kB / 0.9307 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.5591, allocations: 286.9 kB / 0.9309 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.5593, allocations: 113.1 kB / 0.9311 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.5596, allocations: 103.5 kB / 0.9312 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.5598, allocations: 131.5 kB / 0.9313 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.5598, allocations: 12 kB / 0.9313 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.902e-05/0.5598, allocations: 12 kB / 0.9313 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.5599, allocations: 27.81 kB / 0.9313 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.56, allocations: 71.61 kB / 0.9314 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.5602, allocations: 162.8 kB / 0.9315 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5602, allocations: 0 / 0.9315 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.326e-06/0.5602, allocations: 4 kB / 0.9316 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5602, allocations: 3.938 kB / 0.9316 GB, free: 14.39 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005395/0.5608, allocations: 454.5 kB / 0.932 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5608, allocations: 11.97 kB / 0.932 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.5609, allocations: 50.73 kB / 0.932 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.5609, allocations: 20.8 kB / 0.9321 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.5614, allocations: 257.5 kB / 0.9323 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.5614, allocations: 16.12 kB / 0.9323 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.5614, allocations: 12 kB / 0.9323 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.5617, allocations: 204.8 kB / 0.9325 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5618, allocations: 3.938 kB / 0.9325 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.5618, allocations: 12 kB / 0.9326 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5618, allocations: 4 kB / 0.9326 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.5619, allocations: 71.78 kB / 0.9326 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.5633, allocations: 1.587 MB / 0.9342 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.5634, allocations: 169.1 kB / 0.9343 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.5635, allocations: 88.08 kB / 0.9344 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.5635, allocations: 75.28 kB / 0.9345 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.5636, allocations: 109.8 kB / 0.9346 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.5636, allocations: 0 / 0.9346 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 9.848e-05/0.5637, allocations: 53.56 kB / 0.9346 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.5638, allocations: 126.7 kB / 0.9348 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.564, allocations: 250.6 kB / 0.935 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.5641, allocations: 25.7 kB / 0.935 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.5642, allocations: 143.9 kB / 0.9352 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.5642, allocations: 0 / 0.9352 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.5642, allocations: 21.72 kB / 0.9352 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5644, allocations: 330.8 kB / 0.9355 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.5644, allocations: 15.94 kB / 0.9355 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.5645, allocations: 46 kB / 0.9356 GB, free: 9.945 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.693e-05/0.5646, allocations: 61.95 kB / 0.9356 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5646, allocations: 3.938 kB / 0.9356 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000173/0.5648, allocations: 93.36 kB / 0.9357 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5648, allocations: 8 kB / 0.9357 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5648, allocations: 3.984 kB / 0.9357 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5648, allocations: 8.219 kB / 0.9357 GB, free: 9.742 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.5649, allocations: 11.98 kB / 0.9357 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5649, allocations: 8.141 kB / 0.9358 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.565, allocations: 11.89 kB / 0.9358 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.565, allocations: 7.938 kB / 0.9358 GB, free: 9.703 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.5651, allocations: 208.9 kB / 0.936 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.5652, allocations: 120.8 kB / 0.9361 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.5653, allocations: 121.8 kB / 0.9362 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-05/0.5654, allocations: 188.2 kB / 0.9364 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.459e-05/0.5655, allocations: 180.2 kB / 0.9366 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.219e-05/0.5656, allocations: 180.2 kB / 0.9367 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.5659, allocations: 461 kB / 0.9372 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.303e-05/0.566, allocations: 108.9 kB / 0.9373 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.566, allocations: 105 kB / 0.9374 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.959e-05/0.5661, allocations: 176.3 kB / 0.9375 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.5662, allocations: 184.2 kB / 0.9377 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.458e-05/0.5663, allocations: 180.2 kB / 0.9379 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.1e-05/0.5664, allocations: 180.2 kB / 0.9381 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.5666, allocations: 327.7 kB / 0.9384 GB, free: 6.871 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.5667, allocations: 201.9 kB / 0.9386 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.5668, allocations: 176.3 kB / 0.9387 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5669, allocations: 108.9 kB / 0.9388 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.567, allocations: 176.3 kB / 0.939 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.567, allocations: 109 kB / 0.9391 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001795/0.5672, allocations: 178 kB / 0.9393 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5672, allocations: 0 / 0.9393 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002564/0.5675, allocations: 27.95 kB / 0.9393 GB, free: 5.859 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004667/0.568, allocations: 0.8281 MB / 0.9401 GB, free: 5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.5681, allocations: 16.3 kB / 0.9401 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5681, allocations: 0 / 0.9401 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.5681, allocations: 0 / 0.9401 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.5688, allocations: 0.5147 MB / 0.9406 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.571, allocations: 2.059 MB / 0.9426 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.5714, allocations: 0.7085 MB / 0.9433 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.5714, allocations: 21.55 kB / 0.9434 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.5715, allocations: 39.42 kB / 0.9434 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of SimCode: time 3.9e-07/0.5715, allocations: 4 kB / 0.9434 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.5956, allocations: 3.592 MB / 0.9469 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.482, allocations: 10.81 kB / 0.9469 GB, free: 14.07 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)