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.001514/0.001514, allocations: 104.8 kB / 15.98 MB, free: 6.355 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.001455/0.001455, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7904/0.7904, allocations: 135.2 MB / 425.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 63.91 kB / 0.5055 GB, free: 8.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2833, allocations: 80.91 MB / 0.5846 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4436/0.7269, allocations: 171.7 MB / 0.7522 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006375/0.7333, allocations: 9.433 MB / 0.7615 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.7336, allocations: 7.438 kB / 0.7615 GB, free: 1.797 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.0005087/0.7341, allocations: 162.9 kB / 0.7616 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.7343, allocations: 82.97 kB / 0.7617 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.7344, allocations: 58.95 kB / 0.7617 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.7348, allocations: 329.3 kB / 0.7621 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.7351, allocations: 216.5 kB / 0.7623 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.7354, allocations: 166.3 kB / 0.7624 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.7355, allocations: 126.6 kB / 0.7625 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.7356, allocations: 20.72 kB / 0.7626 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.092e-05/0.7356, allocations: 23.67 kB / 0.7626 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.7357, allocations: 74.11 kB / 0.7627 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.7358, allocations: 130.5 kB / 0.7628 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.7361, allocations: 209.8 kB / 0.763 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7361, allocations: 1.375 kB / 0.763 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7361, allocations: 0 / 0.763 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.7361, allocations: 1.469 kB / 0.763 GB, free: 1.746 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.0005487/0.7366, allocations: 0.5193 MB / 0.7635 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.7367, allocations: 9.891 kB / 0.7635 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.7367, allocations: 27.66 kB / 0.7635 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.737, allocations: 279 kB / 0.7638 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.7371, allocations: 18.12 kB / 0.7638 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.7371, allocations: 30.03 kB / 0.7638 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.7375, allocations: 323.9 kB / 0.7642 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.7375, allocations: 1.719 kB / 0.7642 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.7376, allocations: 10.58 kB / 0.7642 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.7376, allocations: 8.531 kB / 0.7642 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.7378, allocations: 141.8 kB / 0.7643 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.7391, allocations: 1.811 MB / 0.7661 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.059e-05/0.7392, allocations: 173.8 kB / 0.7662 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.7393, allocations: 82.95 kB / 0.7663 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.7393, allocations: 76.48 kB / 0.7664 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.7394, allocations: 109.8 kB / 0.7665 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.7394, allocations: 3.984 kB / 0.7665 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.982e-05/0.7395, allocations: 66.34 kB / 0.7666 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.7396, allocations: 127.2 kB / 0.7667 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.74, allocations: 374.4 kB / 0.767 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.74, allocations: 25.7 kB / 0.7671 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.7401, allocations: 173.3 kB / 0.7672 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.7401, allocations: 0.875 kB / 0.7672 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.7401, allocations: 18.28 kB / 0.7673 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7403, allocations: 338.4 kB / 0.7676 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.7403, allocations: 5.297 kB / 0.7676 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.7403, allocations: 40.7 kB / 0.7676 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.7404, allocations: 43.22 kB / 0.7677 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7404, allocations: 1.031 kB / 0.7677 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000138/0.7405, allocations: 88.56 kB / 0.7677 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7405, allocations: 5.281 kB / 0.7678 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7405, allocations: 10.44 kB / 0.7678 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.7406, allocations: 1.406 kB / 0.7678 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.7406, allocations: 8.344 kB / 0.7678 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.7406, allocations: 2.062 kB / 0.7678 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.7407, allocations: 31.81 kB / 0.7678 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.7407, allocations: 4.25 kB / 0.7678 GB, free: 14.12 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.0001409/0.7409, allocations: 215.4 kB / 0.768 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.741, allocations: 126.8 kB / 0.7681 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.741, allocations: 139 kB / 0.7683 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.566e-05/0.7411, allocations: 177.2 kB / 0.7684 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-05/0.7412, allocations: 181.3 kB / 0.7686 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.336e-05/0.7413, allocations: 177.7 kB / 0.7688 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.7416, allocations: 494.5 kB / 0.7692 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.828e-05/0.7417, allocations: 104.2 kB / 0.7693 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.7417, allocations: 108.4 kB / 0.7695 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.13e-05/0.7418, allocations: 179.6 kB / 0.7696 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.7419, allocations: 185.9 kB / 0.7698 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.949e-05/0.742, allocations: 185 kB / 0.77 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.587e-05/0.742, allocations: 177.7 kB / 0.7701 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.7422, allocations: 331.6 kB / 0.7705 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.7423, allocations: 212.8 kB / 0.7707 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.7424, allocations: 186.4 kB / 0.7708 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.7426, allocations: 104.5 kB / 0.7709 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.7426, allocations: 179.1 kB / 0.7711 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.7427, allocations: 105.9 kB / 0.7712 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000264/0.743, allocations: 272.7 kB / 0.7715 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.743, allocations: 2.688 kB / 0.7715 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002883/0.7433, allocations: 31.41 kB / 0.7715 GB, free: 10.59 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.0001314/0.7434, allocations: 175.3 kB / 0.7717 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.714e-05/0.7435, allocations: 19.5 kB / 0.7717 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7435, allocations: 1.312 kB / 0.7717 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.7435, allocations: 4.219 kB / 0.7717 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.7444, allocations: 0.5518 MB / 0.7722 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.745, allocations: 0.5162 MB / 0.7727 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.7454, allocations: 0.7599 MB / 0.7735 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.7454, allocations: 20.09 kB / 0.7735 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.7454, allocations: 1.203 kB / 0.7735 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of Templates: time 0.004652/0.7501, allocations: 3.122 MB / 0.7766 GB, free: 8.758 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)