Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008273/0.0008269, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008806/0.0008807, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002231/0.002232, allocations: 273.2 kB / 291.3 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 13.19 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 88.54 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5915/0.7778, allocations: 158.2 MB / 0.839 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.7909, allocations: 8.777 MB / 0.8475 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.7914, allocations: 11.78 kB / 0.8475 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.7922, allocations: 132.4 kB / 0.8477 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.7925, allocations: 86.83 kB / 0.8477 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.7928, allocations: 44.67 kB / 0.8478 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.7934, allocations: 336.8 kB / 0.8481 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.7937, allocations: 143.6 kB / 0.8482 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.794, allocations: 127.7 kB / 0.8484 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.7941, allocations: 87.02 kB / 0.8485 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.7942, allocations: 5.719 kB / 0.8485 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.7942, allocations: 2.406 kB / 0.8485 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.7943, allocations: 55.3 kB / 0.8485 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.7944, allocations: 71.33 kB / 0.8486 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.7946, allocations: 214.2 kB / 0.8488 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.7946, allocations: 0 / 0.8488 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7946, allocations: 0 / 0.8488 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.7946, allocations: 0 / 0.8488 GB, free: 15.54 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000568/0.7952, allocations: 471.8 kB / 0.8492 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.7953, allocations: 15.31 kB / 0.8492 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.7953, allocations: 29 kB / 0.8493 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.7957, allocations: 255.7 kB / 0.8495 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.7957, allocations: 19.44 kB / 0.8495 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.7958, allocations: 28.56 kB / 0.8496 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.7962, allocations: 320.7 kB / 0.8499 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7962, allocations: 2.969 kB / 0.8499 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.7963, allocations: 10.91 kB / 0.8499 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.7963, allocations: 9.719 kB / 0.8499 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.7965, allocations: 140 kB / 0.85 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.7979, allocations: 1.833 MB / 0.8518 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.798, allocations: 174.9 kB / 0.852 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.798, allocations: 80.14 kB / 0.8521 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.7981, allocations: 75.28 kB / 0.8521 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.7981, allocations: 117.1 kB / 0.8522 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7981, allocations: 0 / 0.8522 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.715e-05/0.7982, allocations: 52.2 kB / 0.8523 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.7983, allocations: 129.6 kB / 0.8524 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.7987, allocations: 370 kB / 0.8528 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.7987, allocations: 25.7 kB / 0.8528 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.7988, allocations: 169 kB / 0.853 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.7989, allocations: 0 / 0.853 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.7989, allocations: 2.156 kB / 0.853 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.799, allocations: 344.6 kB / 0.8533 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.799, allocations: 3.312 kB / 0.8533 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.7991, allocations: 33.36 kB / 0.8533 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.417e-05/0.7991, allocations: 21.8 kB / 0.8533 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7991, allocations: 0 / 0.8533 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001434/0.7993, allocations: 81.97 kB / 0.8534 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7993, allocations: 2.906 kB / 0.8534 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7993, allocations: 3.281 kB / 0.8534 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.7993, allocations: 0 / 0.8534 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.7994, allocations: 14.09 kB / 0.8534 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7994, allocations: 2.938 kB / 0.8534 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.7995, allocations: 31.66 kB / 0.8535 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.7995, allocations: 7.141 kB / 0.8535 GB, free: 11.14 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.7997, allocations: 218.7 kB / 0.8537 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.7998, allocations: 127.7 kB / 0.8538 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.7998, allocations: 133.7 kB / 0.8539 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.872e-05/0.7999, allocations: 180.3 kB / 0.8541 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.357e-05/0.8, allocations: 187.1 kB / 0.8543 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.517e-05/0.8001, allocations: 176.3 kB / 0.8545 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.8004, allocations: 496.7 kB / 0.8549 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/0.8004, allocations: 105 kB / 0.855 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.8005, allocations: 101 kB / 0.8551 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.476e-05/0.8005, allocations: 184.2 kB / 0.8553 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.624e-05/0.8006, allocations: 187.2 kB / 0.8555 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.935e-05/0.8007, allocations: 180.2 kB / 0.8557 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.253e-05/0.8007, allocations: 176.3 kB / 0.8558 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.8009, allocations: 335.4 kB / 0.8561 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.801, allocations: 210.5 kB / 0.8563 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.38e-05/0.8011, allocations: 183 kB / 0.8565 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.8012, allocations: 101 kB / 0.8566 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.8013, allocations: 178.3 kB / 0.8568 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.8014, allocations: 110.7 kB / 0.8569 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002863/0.8016, allocations: 269.1 kB / 0.8571 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8017, allocations: 3.938 kB / 0.8571 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002588/0.8019, allocations: 35.44 kB / 0.8572 GB, free: 7.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001298/0.8021, allocations: 170.5 kB / 0.8573 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.8021, allocations: 16.66 kB / 0.8574 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8021, allocations: 0 / 0.8574 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.8021, allocations: 2 kB / 0.8574 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.803, allocations: 0.6213 MB / 0.858 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.8036, allocations: 497.2 kB / 0.8584 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.8039, allocations: 0.7505 MB / 0.8592 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.155e-05/0.804, allocations: 34.5 kB / 0.8592 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.804, allocations: 18.41 kB / 0.8592 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of SimCode: time 1.9e-07/0.804, allocations: 0 / 0.8592 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.005842/0.8099, allocations: 2.913 MB / 0.8621 GB, free: 4.043 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)