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.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001471/0.001471, allocations: 191.5 kB / 16.14 MB, free: 6.691 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 282.9 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 178.6 MB / 0.5068 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 100.6 kB / 0.6057 GB, free: 25.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1558, allocations: 89.16 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4492/0.6051, allocations: 145.8 MB / 0.8352 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005307/0.6105, allocations: 4.615 MB / 0.8397 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.6107, allocations: 11.94 kB / 0.8397 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.6112, allocations: 127.2 kB / 0.8398 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.6116, allocations: 78.16 kB / 0.8399 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.6117, allocations: 61.14 kB / 0.84 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.6122, allocations: 360.8 kB / 0.8403 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.6124, allocations: 132.6 kB / 0.8404 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.6126, allocations: 106.4 kB / 0.8405 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.6128, allocations: 156 kB / 0.8407 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.6129, allocations: 13.88 kB / 0.8407 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.075e-05/0.6129, allocations: 11.56 kB / 0.8407 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.613, allocations: 58.64 kB / 0.8408 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.6131, allocations: 100.4 kB / 0.8409 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.6134, allocations: 226.2 kB / 0.8411 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6134, allocations: 3.938 kB / 0.8411 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6134, allocations: 0 / 0.8411 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.6134, allocations: 3.938 kB / 0.8411 GB, free: 10.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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005342/0.6139, allocations: 499.3 kB / 0.8416 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.614, allocations: 9.781 kB / 0.8416 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.614, allocations: 25.09 kB / 0.8416 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.6143, allocations: 250.6 kB / 0.8418 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.6144, allocations: 18.19 kB / 0.8419 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.6144, allocations: 18.12 kB / 0.8419 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.6148, allocations: 307.6 kB / 0.8422 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6149, allocations: 1.125 kB / 0.8422 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.6149, allocations: 15.28 kB / 0.8422 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.6149, allocations: 6.625 kB / 0.8422 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.6151, allocations: 128.7 kB / 0.8423 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.6166, allocations: 1.98 MB / 0.8442 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.6167, allocations: 170.6 kB / 0.8444 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.6168, allocations: 80.14 kB / 0.8445 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.6168, allocations: 75.28 kB / 0.8446 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.6169, allocations: 111.4 kB / 0.8447 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.6169, allocations: 0 / 0.8447 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.44e-05/0.617, allocations: 56.45 kB / 0.8447 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.6171, allocations: 130.7 kB / 0.8448 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.6175, allocations: 326.8 kB / 0.8451 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.6175, allocations: 27.14 kB / 0.8452 GB, free: 7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.6176, allocations: 159.9 kB / 0.8453 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.6176, allocations: 1.375 kB / 0.8453 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.6177, allocations: 31.11 kB / 0.8454 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6179, allocations: 329.7 kB / 0.8457 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.6179, allocations: 12.11 kB / 0.8457 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.196e-05/0.6179, allocations: 56.47 kB / 0.8457 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.618, allocations: 71.17 kB / 0.8458 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.618, allocations: 1.375 kB / 0.8458 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001836/0.6182, allocations: 107.8 kB / 0.8459 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.6182, allocations: 7.969 kB / 0.8459 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6183, allocations: 1.375 kB / 0.8459 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6183, allocations: 6.688 kB / 0.8459 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.6183, allocations: 14.98 kB / 0.8459 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.6184, allocations: 10.62 kB / 0.8459 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.373e-05/0.6184, allocations: 23.94 kB / 0.846 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.6184, allocations: 4.125 kB / 0.846 GB, free: 6.23 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.0001521/0.6186, allocations: 213.7 kB / 0.8462 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.6187, allocations: 127.6 kB / 0.8463 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.468e-05/0.6188, allocations: 127.7 kB / 0.8464 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.777e-05/0.6189, allocations: 180.2 kB / 0.8466 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.124e-05/0.619, allocations: 186.8 kB / 0.8468 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.96e-05/0.619, allocations: 181.7 kB / 0.8469 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.6194, allocations: 483.3 kB / 0.8474 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/0.6194, allocations: 101 kB / 0.8475 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.6195, allocations: 102.4 kB / 0.8476 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.2e-05/0.6196, allocations: 181.6 kB / 0.8478 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.6197, allocations: 184.2 kB / 0.8479 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.171e-05/0.6197, allocations: 191.2 kB / 0.8481 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.159e-05/0.6198, allocations: 181.6 kB / 0.8483 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.62, allocations: 325.2 kB / 0.8486 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6202, allocations: 202 kB / 0.8488 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.6203, allocations: 185.6 kB / 0.849 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.6204, allocations: 108.9 kB / 0.8491 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.6205, allocations: 181.6 kB / 0.8493 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.6205, allocations: 106.3 kB / 0.8494 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002377/0.6208, allocations: 236.2 kB / 0.8496 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6208, allocations: 0 / 0.8496 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000261/0.621, allocations: 32.69 kB / 0.8496 GB, free: 2.473 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.0001401/0.6212, allocations: 175 kB / 0.8498 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.005e-05/0.6213, allocations: 25.67 kB / 0.8498 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6213, allocations: 0 / 0.8498 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/0.6213, allocations: 1.375 kB / 0.8498 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/0.6221, allocations: 0.591 MB / 0.8504 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.6227, allocations: 450.9 kB / 0.8508 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.6231, allocations: 0.7458 MB / 0.8515 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.903e-05/0.6232, allocations: 22.39 kB / 0.8516 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.6232, allocations: 17.88 kB / 0.8516 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6233, allocations: 0 / 0.8516 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of Templates: time 0.005433/0.6287, allocations: 2.251 MB / 0.8538 GB, free: 15.54 MB / 0.5919 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)