Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001151/0.001151, allocations: 196.2 kB / 16.25 MB, free: 6.625 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.383/1.383, 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.00203/0.00203, allocations: 287.1 kB / 290.4 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9755/0.9755, allocations: 169.2 MB / 0.4978 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 102.5 kB / 0.5947 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1832, allocations: 86.99 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5231/0.7063, allocations: 145.9 MB / 0.8222 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005213/0.7116, allocations: 4.594 MB / 0.8266 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.7119, allocations: 9.531 kB / 0.8266 GB, free: 0.6836 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 (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/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 (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/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.0005734/0.7125, allocations: 136.8 kB / 0.8268 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.7128, allocations: 85.94 kB / 0.8269 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.713, allocations: 56.92 kB / 0.8269 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.7134, allocations: 308.4 kB / 0.8272 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002997/0.7137, allocations: 144.6 kB / 0.8273 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.7138, allocations: 115.8 kB / 0.8275 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.714, allocations: 153.3 kB / 0.8276 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.7141, allocations: 16.06 kB / 0.8276 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.301e-05/0.7141, allocations: 15.53 kB / 0.8276 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.7142, allocations: 64.94 kB / 0.8277 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.605e-05/0.7143, allocations: 101.4 kB / 0.8278 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.7145, allocations: 230.5 kB / 0.828 GB, free: 384 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7145, allocations: 2.391 kB / 0.828 GB, free: 384 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7145, allocations: 0 / 0.828 GB, free: 384 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7145, allocations: 4 kB / 0.828 GB, free: 380 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004997/0.715, allocations: 488.2 kB / 0.8285 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.7151, allocations: 9.562 kB / 0.8285 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.7152, allocations: 33.66 kB / 0.8285 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.7154, allocations: 254.1 kB / 0.8288 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.7155, allocations: 16.44 kB / 0.8288 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.7155, allocations: 21.47 kB / 0.8288 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.7159, allocations: 305 kB / 0.8291 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.7159, allocations: 5 kB / 0.8291 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.7159, allocations: 12.39 kB / 0.8291 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.716, allocations: 6.75 kB / 0.8291 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.7162, allocations: 126.8 kB / 0.8292 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.7176, allocations: 1.979 MB / 0.8312 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.665e-05/0.7177, allocations: 170.3 kB / 0.8313 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.7177, allocations: 80.14 kB / 0.8314 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.7178, allocations: 75.28 kB / 0.8315 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.7178, allocations: 110.8 kB / 0.8316 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.7179, allocations: 0 / 0.8316 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.615e-05/0.718, allocations: 62.88 kB / 0.8316 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.718, allocations: 126.7 kB / 0.8318 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.7184, allocations: 327.4 kB / 0.8321 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.7184, allocations: 25.7 kB / 0.8321 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.7185, allocations: 164 kB / 0.8323 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.7186, allocations: 1.656 kB / 0.8323 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.7186, allocations: 22.31 kB / 0.8323 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7188, allocations: 338 kB / 0.8326 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.7188, allocations: 10.67 kB / 0.8326 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.7188, allocations: 52.97 kB / 0.8327 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.206e-05/0.7189, allocations: 73.25 kB / 0.8327 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7189, allocations: 0 / 0.8327 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001938/0.7191, allocations: 108.1 kB / 0.8328 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7192, allocations: 5.562 kB / 0.8328 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7192, allocations: 3.875 kB / 0.8328 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7192, allocations: 6.344 kB / 0.8329 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.7193, allocations: 15.06 kB / 0.8329 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.7193, allocations: 6.188 kB / 0.8329 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.546e-05/0.7194, allocations: 26.41 kB / 0.8329 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.7194, allocations: 4.766 kB / 0.8329 GB, free: 12.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001444/0.7195, allocations: 221.5 kB / 0.8331 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.7196, allocations: 124.5 kB / 0.8332 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.7197, allocations: 126.6 kB / 0.8334 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-05/0.7198, allocations: 184.9 kB / 0.8335 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.545e-05/0.7198, allocations: 184 kB / 0.8337 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.405e-05/0.7199, allocations: 181.3 kB / 0.8339 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.7202, allocations: 474 kB / 0.8343 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/0.7202, allocations: 106 kB / 0.8344 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.7203, allocations: 106.6 kB / 0.8345 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.465e-05/0.7204, allocations: 187.5 kB / 0.8347 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.7204, allocations: 177.4 kB / 0.8349 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-05/0.7205, allocations: 185.4 kB / 0.8351 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.279e-05/0.7206, allocations: 185.4 kB / 0.8352 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.7207, allocations: 327.2 kB / 0.8355 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.7208, allocations: 206.3 kB / 0.8357 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.7209, allocations: 181.4 kB / 0.8359 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.836e-05/0.721, allocations: 110.3 kB / 0.836 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.7211, allocations: 178.9 kB / 0.8362 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.7211, allocations: 106.3 kB / 0.8363 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002194/0.7214, allocations: 237.8 kB / 0.8365 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7214, allocations: 0 / 0.8365 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002651/0.7216, allocations: 24.84 kB / 0.8365 GB, free: 8.77 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.00012/0.7218, allocations: 178 kB / 0.8367 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.753e-05/0.7219, allocations: 23.78 kB / 0.8367 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7219, allocations: 1.281 kB / 0.8367 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.7219, allocations: 0 / 0.8367 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.7226, allocations: 0.5213 MB / 0.8372 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.7232, allocations: 448.1 kB / 0.8377 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.7236, allocations: 0.752 MB / 0.8384 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.202e-05/0.7237, allocations: 24.27 kB / 0.8384 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.7237, allocations: 18.31 kB / 0.8385 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.7237, allocations: 0 / 0.8385 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of Templates: time 0.005255/0.729, allocations: 2.343 MB / 0.8407 GB, free: 6.953 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)