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.001533/0.001533, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001746, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.402 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: 275.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9215/0.9215, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 101.1 kB / 0.5953 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1233, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.3864/0.5097, allocations: 147.9 MB / 0.8248 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003892/0.5136, allocations: 4.629 MB / 0.8293 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.5138, allocations: 10.91 kB / 0.8293 GB, free: 1.238 MB / 0.5606 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.000455/0.5143, allocations: 168.9 kB / 0.8295 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.5145, allocations: 82.91 kB / 0.8295 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.5147, allocations: 67.73 kB / 0.8296 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.515, allocations: 292.5 kB / 0.8299 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.5152, allocations: 111.2 kB / 0.83 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.5153, allocations: 102.9 kB / 0.8301 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.5155, allocations: 130.5 kB / 0.8302 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.5155, allocations: 10.44 kB / 0.8302 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/0.5155, allocations: 15.16 kB / 0.8302 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.5155, allocations: 28.86 kB / 0.8303 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.5156, allocations: 77.44 kB / 0.8303 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.5157, allocations: 150.7 kB / 0.8305 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5158, allocations: 0 / 0.8305 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5158, allocations: 1.156 kB / 0.8305 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.5158, allocations: 3.938 kB / 0.8305 GB, free: 0.9297 MB / 0.5606 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.0003757/0.5162, allocations: 445.3 kB / 0.8309 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5162, allocations: 9.688 kB / 0.8309 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.5162, allocations: 54.06 kB / 0.831 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.5163, allocations: 23.06 kB / 0.831 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.5165, allocations: 241.4 kB / 0.8312 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.5165, allocations: 9.469 kB / 0.8312 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.5165, allocations: 20.97 kB / 0.8312 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.5168, allocations: 211.8 kB / 0.8314 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.5168, allocations: 4.938 kB / 0.8315 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5168, allocations: 7 kB / 0.8315 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.5168, allocations: 4.688 kB / 0.8315 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.5169, allocations: 70.8 kB / 0.8315 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.5177, allocations: 1.586 MB / 0.8331 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.99e-05/0.5178, allocations: 176.8 kB / 0.8332 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.5178, allocations: 81.45 kB / 0.8333 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.5179, allocations: 79.22 kB / 0.8334 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5179, allocations: 107 kB / 0.8335 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5179, allocations: 0 / 0.8335 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.883e-05/0.518, allocations: 47.8 kB / 0.8335 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.518, allocations: 127.9 kB / 0.8337 GB, free: 14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.5183, allocations: 246 kB / 0.8339 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.5183, allocations: 26.7 kB / 0.8339 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.5184, allocations: 144 kB / 0.8341 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.5184, allocations: 1.219 kB / 0.8341 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.5184, allocations: 25.88 kB / 0.8341 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5185, allocations: 332.7 kB / 0.8344 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.5185, allocations: 3.219 kB / 0.8344 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.5186, allocations: 50.58 kB / 0.8345 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.5186, allocations: 61.98 kB / 0.8345 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5186, allocations: 2.75 kB / 0.8345 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/0.5188, allocations: 97.06 kB / 0.8346 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.5188, allocations: 5.344 kB / 0.8346 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.5188, allocations: 2.375 kB / 0.8346 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.5188, allocations: 2.625 kB / 0.8346 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.5189, allocations: 12.09 kB / 0.8346 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5189, allocations: 2.531 kB / 0.8346 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.5189, allocations: 27.7 kB / 0.8347 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.519, allocations: 4.125 kB / 0.8347 GB, free: 13.23 MB / 0.5762 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 9.284e-05/0.5191, allocations: 203.1 kB / 0.8349 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.5191, allocations: 127.5 kB / 0.835 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.5192, allocations: 118.6 kB / 0.8351 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/0.5192, allocations: 186.9 kB / 0.8353 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.77e-05/0.5193, allocations: 177.3 kB / 0.8354 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.806e-05/0.5193, allocations: 181.2 kB / 0.8356 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.5196, allocations: 460.7 kB / 0.8361 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/0.5196, allocations: 106.1 kB / 0.8362 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.118e-05/0.5196, allocations: 108.9 kB / 0.8363 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.824e-05/0.5197, allocations: 179.5 kB / 0.8364 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.5198, allocations: 181.2 kB / 0.8366 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.694e-05/0.5198, allocations: 177.5 kB / 0.8368 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.157e-05/0.5199, allocations: 187.8 kB / 0.837 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.52, allocations: 320.3 kB / 0.8373 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.5201, allocations: 200.4 kB / 0.8375 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.5202, allocations: 177.4 kB / 0.8376 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.5203, allocations: 115.9 kB / 0.8377 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.5203, allocations: 179.3 kB / 0.8379 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.5203, allocations: 102.1 kB / 0.838 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001425/0.5205, allocations: 180 kB / 0.8382 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5205, allocations: 0 / 0.8382 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002542/0.5208, allocations: 22.94 kB / 0.8382 GB, free: 9.668 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.0003599/0.5211, allocations: 0.8333 MB / 0.839 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.877e-05/0.5212, allocations: 20.92 kB / 0.839 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5212, allocations: 1.5 kB / 0.839 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.5212, allocations: 0 / 0.839 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.5219, allocations: 0.4992 MB / 0.8395 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.5236, allocations: 2.061 MB / 0.8415 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.5239, allocations: 0.7143 MB / 0.8422 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.657e-05/0.5239, allocations: 17.69 kB / 0.8422 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.524, allocations: 43.94 kB / 0.8423 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.524, allocations: 0 / 0.8423 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/0.841, allocations: 3.541 MB / 0.8457 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/8.351, allocations: 18.31 kB / 0.8458 GB, free: 5.262 MB / 0.5762 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)