Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001246/0.001246, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001209/0.001209, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.796/0.796, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.89 kB / 0.506 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3123, allocations: 80.93 MB / 0.5851 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.483/0.7953, allocations: 174 MB / 0.755 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006735/0.8021, allocations: 9.517 MB / 0.7643 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002971/0.8024, allocations: 6.969 kB / 0.7643 GB, free: 1.73 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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/IDEAS 3.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/IDEAS 3.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/IDEAS 3.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.0005444/0.803, allocations: 197.3 kB / 0.7645 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.8032, allocations: 90.73 kB / 0.7646 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.8034, allocations: 69.02 kB / 0.7646 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.8038, allocations: 329.2 kB / 0.765 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.8041, allocations: 210.7 kB / 0.7652 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.8044, allocations: 167.9 kB / 0.7653 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.8046, allocations: 120.7 kB / 0.7654 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.8046, allocations: 23.22 kB / 0.7655 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.925e-05/0.8047, allocations: 22.06 kB / 0.7655 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.8048, allocations: 76.14 kB / 0.7656 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.8049, allocations: 125.2 kB / 0.7657 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.8053, allocations: 279.7 kB / 0.7659 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8053, allocations: 0.8125 kB / 0.7659 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.173e-06/0.8053, allocations: 0.9688 kB / 0.7659 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8053, allocations: 3.938 kB / 0.7659 GB, free: 1.672 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.0006262/0.8059, allocations: 0.5109 MB / 0.7664 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.806, allocations: 10.3 kB / 0.7665 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.806, allocations: 33.89 kB / 0.7665 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.8064, allocations: 273.3 kB / 0.7667 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.8064, allocations: 19.12 kB / 0.7668 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.8064, allocations: 29.2 kB / 0.7668 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.8069, allocations: 325.2 kB / 0.7671 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.8069, allocations: 5.031 kB / 0.7671 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.807, allocations: 12.19 kB / 0.7671 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.807, allocations: 7.469 kB / 0.7671 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.8072, allocations: 150.5 kB / 0.7673 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.8085, allocations: 1.81 MB / 0.769 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.8086, allocations: 171.8 kB / 0.7692 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.8086, allocations: 81.56 kB / 0.7693 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.8087, allocations: 79.97 kB / 0.7694 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.8087, allocations: 108 kB / 0.7695 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8087, allocations: 0.7812 kB / 0.7695 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.728e-05/0.8088, allocations: 59.64 kB / 0.7695 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.8089, allocations: 131.5 kB / 0.7696 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.8093, allocations: 370.5 kB / 0.77 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.8094, allocations: 25.7 kB / 0.77 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.8095, allocations: 170 kB / 0.7702 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-06/0.8095, allocations: 2.422 kB / 0.7702 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.8095, allocations: 17.8 kB / 0.7702 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8097, allocations: 338.6 kB / 0.7705 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.8097, allocations: 4.438 kB / 0.7705 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.8097, allocations: 40.75 kB / 0.7706 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.256e-05/0.8098, allocations: 44.23 kB / 0.7706 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8098, allocations: 0.875 kB / 0.7706 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001773/0.81, allocations: 89.7 kB / 0.7707 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.81, allocations: 6.344 kB / 0.7707 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.81, allocations: 1.531 kB / 0.7707 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.81, allocations: 1.594 kB / 0.7707 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.429e-05/0.8101, allocations: 14.5 kB / 0.7707 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.8101, allocations: 2.688 kB / 0.7707 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.276e-05/0.8102, allocations: 28.88 kB / 0.7707 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.8102, allocations: 2.844 kB / 0.7707 GB, free: 14.06 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.8104, allocations: 213.7 kB / 0.771 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.8105, allocations: 137.5 kB / 0.7711 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.8106, allocations: 129.2 kB / 0.7712 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-05/0.8106, allocations: 184.8 kB / 0.7714 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.869e-05/0.8107, allocations: 181 kB / 0.7716 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.462e-05/0.8108, allocations: 182.2 kB / 0.7717 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.8111, allocations: 488.8 kB / 0.7722 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.8112, allocations: 111.7 kB / 0.7723 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.8112, allocations: 108.8 kB / 0.7724 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.758e-05/0.8113, allocations: 181.1 kB / 0.7726 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.8114, allocations: 181.5 kB / 0.7728 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.03e-05/0.8115, allocations: 181.5 kB / 0.7729 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.719e-05/0.8115, allocations: 181.8 kB / 0.7731 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.8117, allocations: 334.4 kB / 0.7734 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.8118, allocations: 211 kB / 0.7736 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.812, allocations: 186.7 kB / 0.7738 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.8121, allocations: 110.4 kB / 0.7739 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.8122, allocations: 177.9 kB / 0.7741 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.8122, allocations: 107 kB / 0.7742 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003117/0.8125, allocations: 273.5 kB / 0.7744 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8125, allocations: 0 / 0.7744 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002956/0.8128, allocations: 31.69 kB / 0.7745 GB, free: 10.51 MB / 0.5919 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.0001461/0.813, allocations: 172 kB / 0.7746 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.847e-05/0.8131, allocations: 20.12 kB / 0.7746 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8131, allocations: 0 / 0.7746 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.8131, allocations: 1.094 kB / 0.7746 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.814, allocations: 0.5478 MB / 0.7752 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.8146, allocations: 482.4 kB / 0.7756 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.8149, allocations: 0.758 MB / 0.7764 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.8149, allocations: 21.12 kB / 0.7764 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.815, allocations: 0.8125 kB / 0.7764 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of Templates: time 0.004908/0.8199, allocations: 3.11 MB / 0.7794 GB, free: 8.738 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)