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.003842/0.003843, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001154/0.001154, allocations: 192 kB / 16.67 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 283.4 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 0.9672/0.9672, allocations: 169.2 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 100 kB / 0.681 GB, free: 7.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3501, allocations: 86.98 MB / 0.7659 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1574/0.5075, allocations: 147.9 MB / 0.9104 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004985/0.5126, allocations: 4.638 MB / 0.9149 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.5127, allocations: 7.938 kB / 0.9149 GB, free: 10.73 MB / 0.6856 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.0004941/0.5132, allocations: 166.9 kB / 0.9151 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.5135, allocations: 87.45 kB / 0.9152 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.5136, allocations: 63.86 kB / 0.9152 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003406/0.514, allocations: 294.9 kB / 0.9155 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.5142, allocations: 106.5 kB / 0.9156 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.5144, allocations: 107.5 kB / 0.9157 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.5146, allocations: 131.5 kB / 0.9158 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.5146, allocations: 12 kB / 0.9159 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.5146, allocations: 8 kB / 0.9159 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.5147, allocations: 31.86 kB / 0.9159 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.5147, allocations: 79.61 kB / 0.916 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.5149, allocations: 164.4 kB / 0.9161 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.515, allocations: 0 / 0.9161 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.052e-06/0.515, allocations: 0 / 0.9161 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.515, allocations: 0 / 0.9161 GB, free: 9.508 MB / 0.6856 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.0004349/0.5154, allocations: 450.5 kB / 0.9166 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.5154, allocations: 8.031 kB / 0.9166 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.5155, allocations: 50.73 kB / 0.9166 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.5155, allocations: 20.84 kB / 0.9166 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.5159, allocations: 254.2 kB / 0.9169 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5159, allocations: 16.06 kB / 0.9169 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.5159, allocations: 27.88 kB / 0.9169 GB, free: 8.605 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.5162, allocations: 205.8 kB / 0.9171 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5162, allocations: 0 / 0.9171 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.5163, allocations: 8 kB / 0.9171 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5163, allocations: 8 kB / 0.9171 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.5164, allocations: 75.78 kB / 0.9172 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.5175, allocations: 1.583 MB / 0.9188 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.5176, allocations: 181.1 kB / 0.9189 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.5176, allocations: 80.14 kB / 0.919 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.5177, allocations: 75.28 kB / 0.9191 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.5177, allocations: 109.8 kB / 0.9192 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5177, allocations: 0 / 0.9192 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 7.844e-05/0.5178, allocations: 49.56 kB / 0.9192 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.5179, allocations: 130.7 kB / 0.9193 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.5181, allocations: 250.6 kB / 0.9196 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5182, allocations: 25.7 kB / 0.9196 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.5183, allocations: 147.9 kB / 0.9198 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.5183, allocations: 0 / 0.9198 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.5183, allocations: 17.72 kB / 0.9198 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5185, allocations: 334.8 kB / 0.9201 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.5185, allocations: 4 kB / 0.9201 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.432e-05/0.5185, allocations: 49.95 kB / 0.9201 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.248e-05/0.5186, allocations: 61.94 kB / 0.9202 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5186, allocations: 3.938 kB / 0.9202 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001468/0.5188, allocations: 89.66 kB / 0.9203 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5188, allocations: 4 kB / 0.9203 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5188, allocations: 7.938 kB / 0.9203 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5188, allocations: 0 / 0.9203 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.5189, allocations: 16 kB / 0.9203 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5189, allocations: 3.984 kB / 0.9203 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.519, allocations: 19.84 kB / 0.9203 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.519, allocations: 4 kB / 0.9203 GB, free: 4.836 MB / 0.6856 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.0001228/0.5191, allocations: 207.3 kB / 0.9205 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.5192, allocations: 128.9 kB / 0.9207 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/0.5193, allocations: 117.8 kB / 0.9208 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.447e-05/0.5194, allocations: 180.2 kB / 0.9209 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-05/0.5194, allocations: 184.2 kB / 0.9211 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.329e-05/0.5195, allocations: 176.3 kB / 0.9213 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.5198, allocations: 465 kB / 0.9217 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.5199, allocations: 105 kB / 0.9218 GB, free: 3.195 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.5199, allocations: 112.9 kB / 0.9219 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.215e-05/0.52, allocations: 180.3 kB / 0.9221 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.5201, allocations: 184.2 kB / 0.9223 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.936e-05/0.5202, allocations: 176.3 kB / 0.9225 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.298e-05/0.5203, allocations: 184.3 kB / 0.9226 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.5204, allocations: 327.6 kB / 0.9229 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5205, allocations: 197.9 kB / 0.9231 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/0.5206, allocations: 180.3 kB / 0.9233 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.5207, allocations: 105 kB / 0.9234 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.5208, allocations: 184.2 kB / 0.9236 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.5209, allocations: 105 kB / 0.9237 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001543/0.521, allocations: 174 kB / 0.9238 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5211, allocations: 0 / 0.9238 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003387/0.5214, allocations: 23.98 kB / 0.9239 GB, free: 1 MB / 0.6856 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.0004268/0.5218, allocations: 0.8281 MB / 0.9247 GB, free: 144 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.192e-05/0.5219, allocations: 28.28 kB / 0.9247 GB, free: 116 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5219, allocations: 0 / 0.9247 GB, free: 116 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.5219, allocations: 0 / 0.9247 GB, free: 116 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.5227, allocations: 0.4997 MB / 0.9252 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.5246, allocations: 2.051 MB / 0.9272 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.525, allocations: 0.7163 MB / 0.9279 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 5.991e-05/0.525, allocations: 17.53 kB / 0.9279 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/0.5251, allocations: 47.42 kB / 0.928 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of SimCode: time 3.11e-07/0.5251, allocations: 0 / 0.928 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.583/2.108, allocations: 3.574 MB / 0.9314 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.739/11.85, allocations: 14.48 kB / 0.9315 GB, free: 9.215 MB / 0.7012 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)