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.001141/0.001141, allocations: 108 kB / 15.6 MB, free: 132 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.001366/0.001366, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.546/1.546, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001504, allocations: 64.34 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.198, allocations: 80.93 MB / 0.5844 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5977/0.7958, allocations: 174 MB / 0.7543 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009924/0.8058, allocations: 9.517 MB / 0.7636 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004785/0.8063, allocations: 8 kB / 0.7636 GB, free: 5.383 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.0007436/0.807, allocations: 194.6 kB / 0.7638 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.8073, allocations: 91.34 kB / 0.7639 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.8075, allocations: 67.86 kB / 0.764 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003967/0.8079, allocations: 322.8 kB / 0.7643 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.8083, allocations: 200.9 kB / 0.7645 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.8087, allocations: 167.4 kB / 0.7646 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.8089, allocations: 127.3 kB / 0.7647 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.8089, allocations: 20 kB / 0.7648 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.679e-05/0.809, allocations: 24 kB / 0.7648 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.8091, allocations: 67.83 kB / 0.7649 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.8092, allocations: 127.3 kB / 0.765 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.8095, allocations: 286.9 kB / 0.7652 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8095, allocations: 4 kB / 0.7653 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8095, allocations: 0 / 0.7653 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.8095, allocations: 0 / 0.7653 GB, free: 3.719 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.0005879/0.8101, allocations: 0.5144 MB / 0.7658 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.8102, allocations: 12.03 kB / 0.7658 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.8103, allocations: 27.66 kB / 0.7658 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.8106, allocations: 267.5 kB / 0.766 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.8106, allocations: 20.56 kB / 0.7661 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.8106, allocations: 24 kB / 0.7661 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.8111, allocations: 327.9 kB / 0.7664 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.8111, allocations: 4 kB / 0.7664 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.8111, allocations: 12 kB / 0.7664 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.8112, allocations: 11.94 kB / 0.7664 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.8114, allocations: 143.7 kB / 0.7666 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.8128, allocations: 1.812 MB / 0.7683 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.8129, allocations: 173.1 kB / 0.7685 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.8129, allocations: 88.08 kB / 0.7686 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.813, allocations: 75.28 kB / 0.7687 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.813, allocations: 113.8 kB / 0.7688 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.813, allocations: 0 / 0.7688 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.902e-05/0.8131, allocations: 53.44 kB / 0.7688 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.8132, allocations: 130.6 kB / 0.7689 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.8136, allocations: 377.6 kB / 0.7693 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.8136, allocations: 29.7 kB / 0.7693 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.8137, allocations: 167.8 kB / 0.7695 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.8138, allocations: 7.922 kB / 0.7695 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.8138, allocations: 21.62 kB / 0.7695 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.8139, allocations: 330.8 kB / 0.7698 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.8139, allocations: 8 kB / 0.7698 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.814, allocations: 40.28 kB / 0.7699 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.711e-05/0.814, allocations: 44.23 kB / 0.7699 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8141, allocations: 0 / 0.7699 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001729/0.8142, allocations: 89.78 kB / 0.77 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8143, allocations: 8 kB / 0.77 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8143, allocations: 0 / 0.77 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8143, allocations: 4 kB / 0.77 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.8144, allocations: 4 kB / 0.77 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.8144, allocations: 7.984 kB / 0.77 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.8145, allocations: 29.41 kB / 0.7701 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.8145, allocations: 0 / 0.7701 GB, free: 14.46 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.000141/0.8146, allocations: 221.3 kB / 0.7703 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.8147, allocations: 132.6 kB / 0.7704 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.8148, allocations: 127 kB / 0.7705 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001024/0.8149, allocations: 180.2 kB / 0.7707 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.838e-05/0.815, allocations: 180.3 kB / 0.7709 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.817e-05/0.815, allocations: 176.3 kB / 0.771 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.8154, allocations: 0.4931 MB / 0.7715 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.8154, allocations: 101 kB / 0.7716 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.8155, allocations: 104.9 kB / 0.7717 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.615e-05/0.8156, allocations: 180.3 kB / 0.7719 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.8157, allocations: 176.3 kB / 0.772 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.819e-05/0.8157, allocations: 192.2 kB / 0.7722 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.77e-05/0.8158, allocations: 184.4 kB / 0.7724 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.816, allocations: 335.3 kB / 0.7727 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.8162, allocations: 209.7 kB / 0.7729 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.8163, allocations: 184.3 kB / 0.7731 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.8164, allocations: 109 kB / 0.7732 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.8165, allocations: 184.1 kB / 0.7734 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.8166, allocations: 101 kB / 0.7735 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002577/0.8168, allocations: 271.2 kB / 0.7737 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8168, allocations: 0 / 0.7737 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003198/0.8172, allocations: 31.94 kB / 0.7738 GB, free: 10.45 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.0001646/0.8173, allocations: 175.9 kB / 0.7739 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.8174, allocations: 19.92 kB / 0.774 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8175, allocations: 3.938 kB / 0.774 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.8175, allocations: 0 / 0.774 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009603/0.8184, allocations: 0.5601 MB / 0.7745 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.8191, allocations: 429.9 kB / 0.7749 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.8195, allocations: 0.7595 MB / 0.7757 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.741e-05/0.8196, allocations: 30.97 kB / 0.7757 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.8196, allocations: 19.44 kB / 0.7757 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.8196, allocations: 0 / 0.7757 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of Templates: time 0.007212/0.8268, allocations: 3.156 MB / 0.7788 GB, free: 5.336 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)