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.001228/0.001228, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001073/0.001073, allocations: 199.2 kB / 16.26 MB, free: 6.629 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 290.7 kB / 290.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9259/0.9259, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 88.91 kB / 0.5948 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1275, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4148/0.5424, allocations: 168 MB / 0.8438 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004944/0.5473, allocations: 5.947 MB / 0.8496 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.5475, allocations: 9 kB / 0.8496 GB, free: 13.66 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000565/0.5481, allocations: 154.5 kB / 0.8498 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.5484, allocations: 85.34 kB / 0.8499 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.5494, allocations: 0.4894 MB / 0.8503 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.5498, allocations: 421 kB / 0.8507 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.5501, allocations: 134.7 kB / 0.8509 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.5503, allocations: 180.4 kB / 0.851 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.5505, allocations: 159.2 kB / 0.8512 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.5505, allocations: 18.69 kB / 0.8512 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005988/0.5511, allocations: 467.4 kB / 0.8517 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.5512, allocations: 65.06 kB / 0.8517 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.231e-05/0.5513, allocations: 108.2 kB / 0.8518 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.5518, allocations: 479.3 kB / 0.8523 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5518, allocations: 4 kB / 0.8523 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5518, allocations: 0 / 0.8523 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.5519, allocations: 0 / 0.8523 GB, free: 11.93 MB / 0.5762 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.0004889/0.5524, allocations: 0.5133 MB / 0.8528 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.5524, allocations: 9.562 kB / 0.8528 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.5525, allocations: 59.11 kB / 0.8529 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.5527, allocations: 45.95 kB / 0.8529 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.5529, allocations: 258.5 kB / 0.8531 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.5531, allocations: 130.4 kB / 0.8533 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.5531, allocations: 23.72 kB / 0.8533 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.5535, allocations: 295.2 kB / 0.8536 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.5535, allocations: 0 / 0.8536 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.5535, allocations: 14.5 kB / 0.8536 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.5536, allocations: 7.781 kB / 0.8536 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.5538, allocations: 157.8 kB / 0.8537 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.555, allocations: 1.588 MB / 0.8553 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.051e-05/0.555, allocations: 167.6 kB / 0.8555 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.5551, allocations: 83.83 kB / 0.8555 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.5551, allocations: 79.27 kB / 0.8556 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5551, allocations: 112.2 kB / 0.8557 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5551, allocations: 0 / 0.8557 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.533e-05/0.5552, allocations: 49.83 kB / 0.8558 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.5553, allocations: 126.7 kB / 0.8559 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.5556, allocations: 314.3 kB / 0.8562 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.5556, allocations: 27.11 kB / 0.8562 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.5557, allocations: 191.2 kB / 0.8564 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.5557, allocations: 0 / 0.8564 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.5558, allocations: 51.8 kB / 0.8564 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.5559, allocations: 325.5 kB / 0.8568 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.556, allocations: 35.53 kB / 0.8568 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.5561, allocations: 174.3 kB / 0.857 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.5563, allocations: 198.3 kB / 0.8571 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5563, allocations: 0 / 0.8571 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003587/0.5567, allocations: 212.5 kB / 0.8573 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5567, allocations: 11.09 kB / 0.8574 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5567, allocations: 4.312 kB / 0.8574 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5567, allocations: 6.469 kB / 0.8574 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.5569, allocations: 44.88 kB / 0.8574 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5569, allocations: 8.375 kB / 0.8574 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.5571, allocations: 28.16 kB / 0.8574 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.5571, allocations: 15.59 kB / 0.8575 GB, free: 7.086 MB / 0.5762 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.0001177/0.5572, allocations: 222.9 kB / 0.8577 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.821e-05/0.5573, allocations: 124.8 kB / 0.8578 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.5574, allocations: 121.4 kB / 0.8579 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/0.5574, allocations: 179.2 kB / 0.8581 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.692e-05/0.5575, allocations: 180.2 kB / 0.8583 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/0.5575, allocations: 176.3 kB / 0.8584 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.5578, allocations: 494.9 kB / 0.8589 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/0.5578, allocations: 101 kB / 0.859 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.5579, allocations: 101 kB / 0.8591 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.778e-05/0.5579, allocations: 186.6 kB / 0.8593 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.558, allocations: 180.3 kB / 0.8594 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.807e-05/0.558, allocations: 188.4 kB / 0.8596 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.655e-05/0.5581, allocations: 182.8 kB / 0.8598 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.5582, allocations: 325.9 kB / 0.8601 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.5583, allocations: 205.3 kB / 0.8603 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.5584, allocations: 187 kB / 0.8605 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.5585, allocations: 109 kB / 0.8606 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.5585, allocations: 182.7 kB / 0.8608 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.5586, allocations: 103.5 kB / 0.8609 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002036/0.5588, allocations: 217.3 kB / 0.8611 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5588, allocations: 0 / 0.8611 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003358/0.5591, allocations: 56.72 kB / 0.8611 GB, free: 3.332 MB / 0.5762 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.000465/0.5596, allocations: 0.8652 MB / 0.862 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.5598, allocations: 82.88 kB / 0.862 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5598, allocations: 1.25 kB / 0.862 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.5598, allocations: 0 / 0.862 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.5603, allocations: 482.9 kB / 0.8625 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.5625, allocations: 2.566 MB / 0.865 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.5628, allocations: 0.7382 MB / 0.8657 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.5629, allocations: 35.38 kB / 0.8658 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.563, allocations: 53.58 kB / 0.8658 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.563, allocations: 4 kB / 0.8658 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.5763, allocations: 3.915 MB / 0.8696 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.5765, allocations: 211.3 kB / 0.8698 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.286, allocations: 0 / 0.8698 GB, free: 12.87 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)