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.005459/0.005459, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001354/0.001354, allocations: 202.6 kB / 16.68 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 278.8 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9661/0.9661, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 100.2 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1375, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.4308/0.5684, allocations: 147.9 MB / 0.9104 GB, free: 15.22 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004816/0.5732, allocations: 4.636 MB / 0.9149 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.5735, allocations: 8 kB / 0.9149 GB, free: 10.56 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) 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/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.5741, allocations: 178.8 kB / 0.9151 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.5744, allocations: 79.44 kB / 0.9152 GB, free: 10.31 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.5745, allocations: 59.92 kB / 0.9152 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.5749, allocations: 302.9 kB / 0.9155 GB, free: 9.953 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.5751, allocations: 106.5 kB / 0.9156 GB, free: 9.848 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.5753, allocations: 115.4 kB / 0.9157 GB, free: 9.734 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.5755, allocations: 135.5 kB / 0.9159 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.5755, allocations: 11.94 kB / 0.9159 GB, free: 9.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.5756, allocations: 16 kB / 0.9159 GB, free: 9.574 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.5756, allocations: 23.92 kB / 0.9159 GB, free: 9.551 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.5757, allocations: 75.56 kB / 0.916 GB, free: 9.477 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.5759, allocations: 160.8 kB / 0.9161 GB, free: 9.324 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5759, allocations: 0 / 0.9161 GB, free: 9.324 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5759, allocations: 4 kB / 0.9161 GB, free: 9.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.5759, allocations: 3.938 kB / 0.9161 GB, free: 9.316 MB / 0.67 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.0004034/0.5763, allocations: 446.5 kB / 0.9166 GB, free: 8.832 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.5763, allocations: 12.03 kB / 0.9166 GB, free: 8.82 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.5764, allocations: 46.73 kB / 0.9166 GB, free: 8.766 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.5764, allocations: 20.84 kB / 0.9167 GB, free: 8.746 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.5767, allocations: 252.6 kB / 0.9169 GB, free: 8.461 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5768, allocations: 8.375 kB / 0.9169 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.5768, allocations: 19.94 kB / 0.9169 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.577, allocations: 213.1 kB / 0.9171 GB, free: 8.18 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5771, allocations: 3.938 kB / 0.9171 GB, free: 8.176 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.5771, allocations: 8 kB / 0.9171 GB, free: 8.168 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.5771, allocations: 11.98 kB / 0.9171 GB, free: 8.156 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.5772, allocations: 63.8 kB / 0.9172 GB, free: 8.094 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.5782, allocations: 1.594 MB / 0.9188 GB, free: 6.402 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 7.62e-05/0.5783, allocations: 169.1 kB / 0.9189 GB, free: 6.227 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.5783, allocations: 88.08 kB / 0.919 GB, free: 6.137 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.5783, allocations: 79.28 kB / 0.9191 GB, free: 6.059 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.5784, allocations: 105.8 kB / 0.9192 GB, free: 5.945 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5784, allocations: 4 kB / 0.9192 GB, free: 5.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.365e-05/0.5785, allocations: 45.56 kB / 0.9192 GB, free: 5.891 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.5785, allocations: 126.7 kB / 0.9194 GB, free: 5.754 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.5788, allocations: 246.6 kB / 0.9196 GB, free: 5.512 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.5788, allocations: 29.69 kB / 0.9196 GB, free: 5.477 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.5789, allocations: 135.9 kB / 0.9197 GB, free: 5.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.5789, allocations: 8 kB / 0.9198 GB, free: 5.332 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.5789, allocations: 21.7 kB / 0.9198 GB, free: 5.305 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.579, allocations: 330.8 kB / 0.9201 GB, free: 4.973 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.5791, allocations: 7.938 kB / 0.9201 GB, free: 4.965 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.306e-05/0.5791, allocations: 50 kB / 0.9201 GB, free: 4.895 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.957e-05/0.5792, allocations: 53.95 kB / 0.9202 GB, free: 4.82 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5792, allocations: 4 kB / 0.9202 GB, free: 4.816 MB / 0.67 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001539/0.5793, allocations: 101.3 kB / 0.9203 GB, free: 4.711 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5794, allocations: 7.938 kB / 0.9203 GB, free: 4.703 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.5794, allocations: 7.984 kB / 0.9203 GB, free: 4.695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5794, allocations: 0 / 0.9203 GB, free: 4.695 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.5795, allocations: 12 kB / 0.9203 GB, free: 4.684 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5795, allocations: 0 / 0.9203 GB, free: 4.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.5795, allocations: 23.84 kB / 0.9203 GB, free: 4.66 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.5795, allocations: 4 kB / 0.9203 GB, free: 4.656 MB / 0.67 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.0001077/0.5797, allocations: 209.8 kB / 0.9205 GB, free: 4.441 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.5797, allocations: 120.9 kB / 0.9207 GB, free: 4.316 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.5798, allocations: 117.9 kB / 0.9208 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.101e-05/0.5799, allocations: 184.2 kB / 0.921 GB, free: 4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-05/0.5799, allocations: 176.3 kB / 0.9211 GB, free: 3.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.814e-05/0.58, allocations: 188.2 kB / 0.9213 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.5803, allocations: 461.9 kB / 0.9217 GB, free: 3.121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/0.5803, allocations: 104.9 kB / 0.9218 GB, free: 3.012 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.5803, allocations: 101 kB / 0.9219 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.764e-05/0.5804, allocations: 180.3 kB / 0.9221 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.5805, allocations: 184.2 kB / 0.9223 GB, free: 2.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.053e-05/0.5805, allocations: 180.8 kB / 0.9225 GB, free: 2.352 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.597e-05/0.5806, allocations: 184.2 kB / 0.9226 GB, free: 2.164 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.5807, allocations: 319.9 kB / 0.9229 GB, free: 1.828 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-05/0.5808, allocations: 206 kB / 0.9231 GB, free: 1.602 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.5809, allocations: 180.3 kB / 0.9233 GB, free: 1.418 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/0.581, allocations: 111.4 kB / 0.9234 GB, free: 1.305 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.5811, allocations: 180.2 kB / 0.9236 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-05/0.5811, allocations: 105 kB / 0.9237 GB, free: 1.012 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001522/0.5813, allocations: 178 kB / 0.9239 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5813, allocations: 0 / 0.9239 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002534/0.5815, allocations: 20 kB / 0.9239 GB, free: 0.8203 MB / 0.67 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.0003662/0.5819, allocations: 0.8359 MB / 0.9247 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.582, allocations: 19.94 kB / 0.9247 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.582, allocations: 0 / 0.9247 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.582, allocations: 4.438 kB / 0.9247 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006102/0.5826, allocations: 0.5001 MB / 0.9252 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.5844, allocations: 2.047 MB / 0.9272 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.5847, allocations: 0.7202 MB / 0.9279 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.169e-05/0.5847, allocations: 17.53 kB / 0.9279 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/0.5848, allocations: 43.42 kB / 0.928 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of SimCode: time 2.31e-07/0.5848, allocations: 0 / 0.928 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.6033, allocations: 3.598 MB / 0.9315 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.244/7.848, allocations: 20.45 kB / 0.9315 GB, free: 9.031 MB / 0.6856 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)