Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",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.004526/0.004531, allocations: 99.56 kB / 15.73 MB, free: 6.043 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.00126/0.00126, allocations: 193.8 kB / 16.67 MB, free: 5.965 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 278.8 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5074 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002677/0.002677, allocations: 102.8 kB / 0.6943 GB, free: 3.645 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4292, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.193/0.6223, allocations: 170.3 MB / 0.9477 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00662/0.629, allocations: 5.999 MB / 0.9535 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.6292, allocations: 8 kB / 0.9535 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.6298, allocations: 186.7 kB / 0.9537 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.6301, allocations: 95.38 kB / 0.9538 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.6312, allocations: 0.5177 MB / 0.9543 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.6317, allocations: 410.8 kB / 0.9547 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.6319, allocations: 143.6 kB / 0.9548 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.6322, allocations: 191.2 kB / 0.955 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.6325, allocations: 147.4 kB / 0.9552 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.6325, allocations: 16 kB / 0.9552 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007823/0.6333, allocations: 470.7 kB / 0.9556 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.907e-05/0.6334, allocations: 71.8 kB / 0.9557 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.6335, allocations: 99.48 kB / 0.9558 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006536/0.6342, allocations: 451.9 kB / 0.9562 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6342, allocations: 0 / 0.9562 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.37e-06/0.6342, allocations: 4 kB / 0.9562 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.6342, allocations: 3.938 kB / 0.9562 GB, free: 11.54 MB / 0.7169 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.0006242/0.6349, allocations: 0.518 MB / 0.9567 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6349, allocations: 8.031 kB / 0.9567 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.153e-05/0.635, allocations: 70.53 kB / 0.9568 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.6353, allocations: 43.8 kB / 0.9569 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.6356, allocations: 270.6 kB / 0.9571 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.6358, allocations: 131.4 kB / 0.9572 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.6358, allocations: 28 kB / 0.9573 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.6363, allocations: 290.8 kB / 0.9575 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6363, allocations: 4 kB / 0.9575 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.6363, allocations: 12 kB / 0.9576 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.6363, allocations: 4 kB / 0.9576 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.6367, allocations: 164.6 kB / 0.9577 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.6381, allocations: 1.572 MB / 0.9593 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.08e-05/0.6382, allocations: 173.1 kB / 0.9594 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.6382, allocations: 80.14 kB / 0.9595 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.6383, allocations: 75.28 kB / 0.9596 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.6383, allocations: 113.7 kB / 0.9597 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.6383, allocations: 0 / 0.9597 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.441e-05/0.6384, allocations: 53.56 kB / 0.9597 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.6385, allocations: 130.6 kB / 0.9599 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.6389, allocations: 314.6 kB / 0.9602 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.6389, allocations: 29.7 kB / 0.9602 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.639, allocations: 187.7 kB / 0.9604 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/0.6391, allocations: 8 kB / 0.9604 GB, free: 7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/0.6391, allocations: 45.66 kB / 0.9604 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6393, allocations: 330.8 kB / 0.9607 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.375e-05/0.6394, allocations: 39.97 kB / 0.9608 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.6396, allocations: 163.5 kB / 0.9609 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.6398, allocations: 192.9 kB / 0.9611 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6398, allocations: 4 kB / 0.9611 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000426/0.6403, allocations: 217.1 kB / 0.9613 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6403, allocations: 13.97 kB / 0.9613 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6403, allocations: 4.625 kB / 0.9613 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6403, allocations: 8 kB / 0.9613 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.6405, allocations: 39.92 kB / 0.9614 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6405, allocations: 11.94 kB / 0.9614 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.6407, allocations: 31.73 kB / 0.9614 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.6407, allocations: 15.94 kB / 0.9614 GB, free: 5.766 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.6409, allocations: 217 kB / 0.9616 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.641, allocations: 124.9 kB / 0.9618 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/0.6411, allocations: 121.8 kB / 0.9619 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.948e-05/0.6412, allocations: 196.2 kB / 0.9621 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.415e-05/0.6412, allocations: 180.3 kB / 0.9622 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.072e-05/0.6413, allocations: 176.3 kB / 0.9624 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.6417, allocations: 481.1 kB / 0.9629 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/0.6417, allocations: 101 kB / 0.963 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.6418, allocations: 112.9 kB / 0.9631 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-05/0.6418, allocations: 184.2 kB / 0.9632 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.216e-05/0.6419, allocations: 184.2 kB / 0.9634 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.897e-05/0.642, allocations: 176.3 kB / 0.9636 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.091e-05/0.6421, allocations: 180.3 kB / 0.9638 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.6422, allocations: 327.6 kB / 0.9641 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.6424, allocations: 218.1 kB / 0.9643 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.6425, allocations: 180.3 kB / 0.9645 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.6427, allocations: 105 kB / 0.9646 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.6428, allocations: 188.2 kB / 0.9647 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.6428, allocations: 105 kB / 0.9648 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002583/0.6431, allocations: 225.9 kB / 0.965 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6431, allocations: 0 / 0.965 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003409/0.6434, allocations: 47.94 kB / 0.9651 GB, free: 1.801 MB / 0.7169 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.0005983/0.644, allocations: 0.8592 MB / 0.9659 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.6443, allocations: 87.89 kB / 0.966 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6443, allocations: 0 / 0.966 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.6443, allocations: 0 / 0.966 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.6448, allocations: 489.2 kB / 0.9665 GB, free: 356 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.6475, allocations: 2.497 MB / 0.9689 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.6479, allocations: 0.7398 MB / 0.9696 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.648, allocations: 35.44 kB / 0.9697 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.6481, allocations: 55.42 kB / 0.9697 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.6481, allocations: 0 / 0.9697 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.6725, allocations: 4.059 MB / 0.9737 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.496, allocations: 14.45 kB / 0.9737 GB, free: 8.855 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet_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_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)