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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001291/0.001291, allocations: 193.5 kB / 16.14 MB, free: 6.648 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.516/1.516, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 65.14 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2167, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6684/0.8851, allocations: 171.8 MB / 0.7515 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.8974, allocations: 9.52 MB / 0.7608 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.898, allocations: 11.94 kB / 0.7608 GB, free: 8.121 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.000752/0.8988, allocations: 151.6 kB / 0.761 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.8991, allocations: 79.5 kB / 0.7611 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.8993, allocations: 55.95 kB / 0.7611 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006417/0.8999, allocations: 386.6 kB / 0.7615 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.9004, allocations: 201.8 kB / 0.7617 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.9008, allocations: 151.4 kB / 0.7618 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.901, allocations: 127.3 kB / 0.7619 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.9011, allocations: 19.94 kB / 0.762 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.714e-05/0.9011, allocations: 20 kB / 0.762 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.9012, allocations: 67.81 kB / 0.762 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.9014, allocations: 127.3 kB / 0.7622 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.9017, allocations: 274.9 kB / 0.7624 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9017, allocations: 0 / 0.7624 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9018, allocations: 0 / 0.7624 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9018, allocations: 0 / 0.7624 GB, free: 6.492 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.0007079/0.9025, allocations: 0.5168 MB / 0.7629 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.9025, allocations: 12.03 kB / 0.7629 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.9026, allocations: 27.66 kB / 0.763 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.9029, allocations: 267.7 kB / 0.7632 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.903, allocations: 20.56 kB / 0.7632 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.903, allocations: 28 kB / 0.7633 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.9035, allocations: 319.9 kB / 0.7636 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.9035, allocations: 4 kB / 0.7636 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.9036, allocations: 8 kB / 0.7636 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.9036, allocations: 11.94 kB / 0.7636 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.9038, allocations: 139.8 kB / 0.7637 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.9055, allocations: 1.82 MB / 0.7655 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.9056, allocations: 169.1 kB / 0.7657 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.9057, allocations: 88.02 kB / 0.7657 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.315e-05/0.9057, allocations: 79.28 kB / 0.7658 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.9058, allocations: 106 kB / 0.7659 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.9058, allocations: 3.938 kB / 0.7659 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.9059, allocations: 53.33 kB / 0.766 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.906, allocations: 134.7 kB / 0.7661 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.9064, allocations: 373.7 kB / 0.7665 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-05/0.9065, allocations: 25.7 kB / 0.7665 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.9067, allocations: 163.9 kB / 0.7666 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.9067, allocations: 0 / 0.7666 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.9067, allocations: 25.66 kB / 0.7667 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9069, allocations: 342.8 kB / 0.767 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.9069, allocations: 3.984 kB / 0.767 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.9069, allocations: 40.3 kB / 0.767 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.907, allocations: 40.23 kB / 0.7671 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.907, allocations: 4 kB / 0.7671 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001634/0.9072, allocations: 93.22 kB / 0.7672 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.9072, allocations: 4 kB / 0.7672 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9072, allocations: 4.062 kB / 0.7672 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.9073, allocations: 4 kB / 0.7672 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.9073, allocations: 15.98 kB / 0.7672 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.9073, allocations: 0 / 0.7672 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.9074, allocations: 27.59 kB / 0.7672 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.9074, allocations: 8.156 kB / 0.7672 GB, free: 1.238 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.000149/0.9076, allocations: 209.1 kB / 0.7674 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.9077, allocations: 132.6 kB / 0.7676 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.9078, allocations: 131 kB / 0.7677 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.411e-05/0.9079, allocations: 184.2 kB / 0.7679 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.713e-05/0.908, allocations: 180.2 kB / 0.768 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.25e-05/0.908, allocations: 180.3 kB / 0.7682 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.9084, allocations: 497 kB / 0.7687 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/0.9085, allocations: 101 kB / 0.7688 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.9086, allocations: 108.9 kB / 0.7689 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.76e-05/0.9087, allocations: 184.2 kB / 0.769 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/0.9088, allocations: 180.3 kB / 0.7692 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.501e-05/0.9089, allocations: 180.2 kB / 0.7694 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001281/0.909, allocations: 176.3 kB / 0.7696 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.9092, allocations: 343.6 kB / 0.7699 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.9094, allocations: 209.8 kB / 0.7701 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.9095, allocations: 192.2 kB / 0.7703 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.9096, allocations: 101 kB / 0.7704 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.9098, allocations: 180.2 kB / 0.7705 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.9099, allocations: 105 kB / 0.7706 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002876/0.9102, allocations: 267.2 kB / 0.7709 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9102, allocations: 0 / 0.7709 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003022/0.9105, allocations: 35.94 kB / 0.7709 GB, free: 13.22 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.0001458/0.9106, allocations: 174.5 kB / 0.7711 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.661e-05/0.9107, allocations: 19.94 kB / 0.7711 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9107, allocations: 0 / 0.7711 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.9107, allocations: 0 / 0.7711 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.9118, allocations: 0.6177 MB / 0.7717 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.9125, allocations: 490.9 kB / 0.7722 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.9129, allocations: 0.7521 MB / 0.7729 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.913, allocations: 34.95 kB / 0.773 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.913, allocations: 19.44 kB / 0.773 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.913, allocations: 0 / 0.773 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of Templates: time 0.006585/0.9196, allocations: 3.026 MB / 0.7759 GB, free: 8.121 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)