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.008512/0.008512, allocations: 101.3 kB / 15.88 MB, free: 5.871 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.001788/0.001788, allocations: 192.3 kB / 16.79 MB, free: 5.816 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9773/0.9773, allocations: 135.1 MB / 425.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.39 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1686, allocations: 80.94 MB / 0.5844 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5213/0.69, allocations: 171.8 MB / 0.7522 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009281/0.6993, allocations: 9.521 MB / 0.7615 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003927/0.6998, allocations: 4 kB / 0.7615 GB, free: 8.203 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.000686/0.7005, allocations: 155 kB / 0.7616 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.7008, allocations: 79.44 kB / 0.7617 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.7011, allocations: 55.95 kB / 0.7617 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.7015, allocations: 390.6 kB / 0.7621 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.7019, allocations: 193.8 kB / 0.7623 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.7022, allocations: 155.3 kB / 0.7625 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.7024, allocations: 119.5 kB / 0.7626 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.7024, allocations: 16 kB / 0.7626 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-05/0.7024, allocations: 16 kB / 0.7626 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.7025, allocations: 75.75 kB / 0.7627 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.7027, allocations: 123.4 kB / 0.7628 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.7029, allocations: 215.5 kB / 0.763 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7029, allocations: 0 / 0.763 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7029, allocations: 0 / 0.763 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.7029, allocations: 0 / 0.763 GB, free: 6.641 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.0005614/0.7035, allocations: 0.5182 MB / 0.7635 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.7035, allocations: 12.03 kB / 0.7635 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.7036, allocations: 27.66 kB / 0.7635 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.704, allocations: 268.5 kB / 0.7638 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.704, allocations: 20.56 kB / 0.7638 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.7041, allocations: 24 kB / 0.7638 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.7045, allocations: 323.9 kB / 0.7641 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.7045, allocations: 7.938 kB / 0.7642 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.7045, allocations: 16 kB / 0.7642 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.7046, allocations: 11.94 kB / 0.7642 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002108/0.7048, allocations: 143.7 kB / 0.7643 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.706, allocations: 1.808 MB / 0.7661 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.7061, allocations: 169.1 kB / 0.7662 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.7061, allocations: 88.08 kB / 0.7663 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.7062, allocations: 79.27 kB / 0.7664 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.7062, allocations: 109.8 kB / 0.7665 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.7062, allocations: 0 / 0.7665 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.069e-05/0.7063, allocations: 65.25 kB / 0.7666 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.7064, allocations: 126.8 kB / 0.7667 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.7067, allocations: 377.6 kB / 0.7671 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.7068, allocations: 25.7 kB / 0.7671 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.7069, allocations: 167.9 kB / 0.7672 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.7069, allocations: 0 / 0.7672 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.7069, allocations: 21.66 kB / 0.7673 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7071, allocations: 338.8 kB / 0.7676 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.7071, allocations: 8 kB / 0.7676 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.7071, allocations: 32.3 kB / 0.7676 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.377e-05/0.7072, allocations: 48.22 kB / 0.7677 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7072, allocations: 0 / 0.7677 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001446/0.7073, allocations: 93.22 kB / 0.7678 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7074, allocations: 8 kB / 0.7678 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7074, allocations: 0 / 0.7678 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.7074, allocations: 4 kB / 0.7678 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.7074, allocations: 4 kB / 0.7678 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.7075, allocations: 5.328 kB / 0.7678 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.7075, allocations: 27.59 kB / 0.7678 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.7075, allocations: 0 / 0.7678 GB, free: 1.387 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.0001336/0.7077, allocations: 221.2 kB / 0.768 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.7078, allocations: 132.6 kB / 0.7681 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.126e-05/0.7079, allocations: 134.9 kB / 0.7683 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.889e-05/0.7079, allocations: 176.3 kB / 0.7684 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.077e-05/0.708, allocations: 176.3 kB / 0.7686 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.36e-05/0.7081, allocations: 188.2 kB / 0.7688 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.7084, allocations: 493 kB / 0.7693 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.512e-05/0.7084, allocations: 104.9 kB / 0.7694 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.7085, allocations: 105 kB / 0.7695 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.908e-05/0.7085, allocations: 180.2 kB / 0.7696 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.27e-05/0.7086, allocations: 184.2 kB / 0.7698 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.631e-05/0.7087, allocations: 180.4 kB / 0.77 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.741e-05/0.7087, allocations: 184.2 kB / 0.7701 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.7089, allocations: 339.6 kB / 0.7705 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.709, allocations: 209.7 kB / 0.7707 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.7091, allocations: 188.3 kB / 0.7709 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.7092, allocations: 108.9 kB / 0.771 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.7093, allocations: 176.3 kB / 0.7711 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.7093, allocations: 108.9 kB / 0.7712 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002561/0.7096, allocations: 267.2 kB / 0.7715 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.613e-06/0.7096, allocations: 0 / 0.7715 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002492/0.7099, allocations: 39.88 kB / 0.7715 GB, free: 13.35 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.0001345/0.71, allocations: 174.5 kB / 0.7717 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.744e-05/0.7101, allocations: 8 kB / 0.7717 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7101, allocations: 4 kB / 0.7717 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.7101, allocations: 3.938 kB / 0.7717 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009029/0.711, allocations: 0.6228 MB / 0.7723 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.7116, allocations: 0.5045 MB / 0.7728 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.712, allocations: 0.756 MB / 0.7735 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.712, allocations: 19.44 kB / 0.7736 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.712, allocations: 0 / 0.7736 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of Templates: time 0.004868/0.7169, allocations: 3.106 MB / 0.7766 GB, free: 8.125 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)