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.001313/0.001312, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00129/0.00129, allocations: 191.7 kB / 16.25 MB, free: 6.621 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.511/1.511, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.047/1.047, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001404, allocations: 61.44 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1825, allocations: 80.94 MB / 0.5839 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5372/0.7197, allocations: 171.7 MB / 0.7516 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.7326, allocations: 9.435 MB / 0.7608 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.7332, allocations: 11.94 kB / 0.7608 GB, free: 8.141 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.0009693/0.7342, allocations: 163.1 kB / 0.7609 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.7347, allocations: 83.44 kB / 0.761 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.7349, allocations: 55.97 kB / 0.7611 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006124/0.7356, allocations: 322.7 kB / 0.7614 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.736, allocations: 221.4 kB / 0.7616 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.7365, allocations: 155.5 kB / 0.7617 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.7367, allocations: 127.4 kB / 0.7619 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.7368, allocations: 20 kB / 0.7619 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-05/0.7368, allocations: 24 kB / 0.7619 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.423e-05/0.7369, allocations: 71.81 kB / 0.762 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.7371, allocations: 131.3 kB / 0.7621 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.7374, allocations: 282.9 kB / 0.7624 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7374, allocations: 0 / 0.7624 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7374, allocations: 11.88 kB / 0.7624 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.7375, allocations: 0 / 0.7624 GB, free: 6.508 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.0006338/0.7381, allocations: 0.5066 MB / 0.7629 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.7382, allocations: 12.03 kB / 0.7629 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.7383, allocations: 31.66 kB / 0.7629 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.7386, allocations: 266.5 kB / 0.7632 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.7387, allocations: 19.56 kB / 0.7632 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.7387, allocations: 28 kB / 0.7632 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005232/0.7392, allocations: 319.9 kB / 0.7635 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.7392, allocations: 4 kB / 0.7635 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.7393, allocations: 16 kB / 0.7635 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.7393, allocations: 11.94 kB / 0.7636 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.7396, allocations: 139.8 kB / 0.7637 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.7412, allocations: 1.82 MB / 0.7655 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.7413, allocations: 165.1 kB / 0.7656 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.7414, allocations: 88.08 kB / 0.7657 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.7414, allocations: 79.28 kB / 0.7658 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/0.7415, allocations: 105.8 kB / 0.7659 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.7415, allocations: 0 / 0.7659 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001409/0.7416, allocations: 57.27 kB / 0.7659 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.7417, allocations: 126.7 kB / 0.7661 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.7422, allocations: 373.7 kB / 0.7664 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.7423, allocations: 29.7 kB / 0.7664 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.7424, allocations: 167.8 kB / 0.7666 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.7424, allocations: 0 / 0.7666 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.7425, allocations: 21.62 kB / 0.7666 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.7427, allocations: 338.8 kB / 0.7669 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.7427, allocations: 0 / 0.7669 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.682e-05/0.7428, allocations: 40.28 kB / 0.767 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.7429, allocations: 44.23 kB / 0.767 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7429, allocations: 0 / 0.767 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002229/0.7431, allocations: 97.25 kB / 0.7671 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.7431, allocations: 6.188 kB / 0.7671 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.7432, allocations: 0 / 0.7671 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.7432, allocations: 4 kB / 0.7671 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.7433, allocations: 8 kB / 0.7671 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.7433, allocations: 0 / 0.7671 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.7434, allocations: 35.52 kB / 0.7672 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.7434, allocations: 4 kB / 0.7672 GB, free: 1.273 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.7436, allocations: 213.2 kB / 0.7674 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.7438, allocations: 132.6 kB / 0.7675 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.7439, allocations: 141.6 kB / 0.7676 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.201e-05/0.744, allocations: 180.2 kB / 0.7678 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.813e-05/0.7441, allocations: 176.3 kB / 0.768 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001059/0.7442, allocations: 180.2 kB / 0.7682 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.7446, allocations: 0.4894 MB / 0.7686 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.77e-05/0.7447, allocations: 112.9 kB / 0.7687 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.7448, allocations: 101.1 kB / 0.7688 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.961e-05/0.7449, allocations: 184.2 kB / 0.769 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.584e-05/0.745, allocations: 180.2 kB / 0.7692 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.131e-05/0.7451, allocations: 176.3 kB / 0.7694 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001012/0.7452, allocations: 188.2 kB / 0.7695 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.7454, allocations: 331.4 kB / 0.7698 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.7456, allocations: 209.7 kB / 0.77 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.7458, allocations: 180.3 kB / 0.7702 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.7459, allocations: 112.9 kB / 0.7703 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.7461, allocations: 184.3 kB / 0.7705 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.7461, allocations: 105 kB / 0.7706 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003308/0.7465, allocations: 267.1 kB / 0.7709 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7465, allocations: 4 kB / 0.7709 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003273/0.7468, allocations: 27.94 kB / 0.7709 GB, free: 13.25 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.0001999/0.747, allocations: 178.5 kB / 0.7711 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.7471, allocations: 19.92 kB / 0.7711 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7471, allocations: 0 / 0.7711 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.7471, allocations: 0 / 0.7711 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/0.7481, allocations: 0.5485 MB / 0.7716 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/0.7489, allocations: 489.2 kB / 0.7721 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.7493, allocations: 0.7595 MB / 0.7728 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.7495, allocations: 34.95 kB / 0.7729 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.7495, allocations: 19.44 kB / 0.7729 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.7495, allocations: 3.938 kB / 0.7729 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of Templates: time 0.007697/0.7572, allocations: 3.147 MB / 0.7759 GB, free: 8.094 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)