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.001295/0.0013, allocations: 103.6 kB / 16.27 MB, free: 5.945 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.001266/0.001266, allocations: 190.6 kB / 17.2 MB, free: 5.586 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8406/0.8406, allocations: 135.2 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.91 kB / 0.506 GB, free: 8.367 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3424, allocations: 80.92 MB / 0.5851 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5157/0.8581, allocations: 174 MB / 0.755 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007753/0.8659, allocations: 9.515 MB / 0.7643 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.8663, allocations: 10.88 kB / 0.7643 GB, free: 1.766 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.000607/0.8669, allocations: 191.3 kB / 0.7645 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.8672, allocations: 96.11 kB / 0.7646 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.8674, allocations: 61.94 kB / 0.7646 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.8678, allocations: 332.1 kB / 0.765 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.8681, allocations: 209.3 kB / 0.7652 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.8685, allocations: 167.8 kB / 0.7653 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.8686, allocations: 122.9 kB / 0.7654 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.8687, allocations: 23.95 kB / 0.7655 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.863e-05/0.8687, allocations: 25.59 kB / 0.7655 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.369e-05/0.8688, allocations: 74.88 kB / 0.7656 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.869, allocations: 130.1 kB / 0.7657 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.8693, allocations: 274.9 kB / 0.7659 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8693, allocations: 0.9375 kB / 0.7659 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8693, allocations: 0.9688 kB / 0.7659 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.8693, allocations: 0 / 0.7659 GB, free: 1.711 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.0006506/0.87, allocations: 0.5145 MB / 0.7664 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.87, allocations: 11.38 kB / 0.7665 GB, free: 17.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.8701, allocations: 27.59 kB / 0.7665 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.8704, allocations: 274.2 kB / 0.7667 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.8704, allocations: 19.22 kB / 0.7668 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.8705, allocations: 28.83 kB / 0.7668 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/0.8709, allocations: 326.5 kB / 0.7671 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.8709, allocations: 4.344 kB / 0.7671 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.871, allocations: 10.84 kB / 0.7671 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.871, allocations: 8.156 kB / 0.7671 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.8712, allocations: 144.9 kB / 0.7673 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.8726, allocations: 1.81 MB / 0.769 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.8727, allocations: 174.5 kB / 0.7692 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.8727, allocations: 82.5 kB / 0.7693 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.8728, allocations: 75.28 kB / 0.7693 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.1e-05/0.8729, allocations: 112.3 kB / 0.7694 GB, free: 15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.8729, allocations: 0 / 0.7694 GB, free: 15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.867e-05/0.873, allocations: 58.3 kB / 0.7695 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.873, allocations: 130.9 kB / 0.7696 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.8735, allocations: 372.7 kB / 0.77 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.8736, allocations: 27.3 kB / 0.77 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.8737, allocations: 166.6 kB / 0.7702 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.8737, allocations: 2.766 kB / 0.7702 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.8737, allocations: 18.91 kB / 0.7702 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8739, allocations: 338.8 kB / 0.7705 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.8739, allocations: 5.766 kB / 0.7705 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.874, allocations: 35.33 kB / 0.7706 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.247e-05/0.874, allocations: 48.92 kB / 0.7706 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.874, allocations: 1.125 kB / 0.7706 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001842/0.8742, allocations: 87.41 kB / 0.7707 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.8742, allocations: 9.125 kB / 0.7707 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8743, allocations: 2.531 kB / 0.7707 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.8743, allocations: 5.688 kB / 0.7707 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.8743, allocations: 9.828 kB / 0.7707 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.8744, allocations: 2.469 kB / 0.7707 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.8744, allocations: 27.16 kB / 0.7707 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.8745, allocations: 5.125 kB / 0.7707 GB, free: 14.09 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.0001649/0.8746, allocations: 218.6 kB / 0.771 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.8747, allocations: 130.7 kB / 0.7711 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.311e-05/0.8748, allocations: 130 kB / 0.7712 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.809e-05/0.8749, allocations: 182.6 kB / 0.7714 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.919e-05/0.875, allocations: 181.3 kB / 0.7715 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.241e-05/0.8751, allocations: 182.8 kB / 0.7717 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.8755, allocations: 492.3 kB / 0.7722 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-05/0.8756, allocations: 104.2 kB / 0.7723 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.8756, allocations: 110.7 kB / 0.7724 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.687e-05/0.8757, allocations: 185.2 kB / 0.7726 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/0.8758, allocations: 186.2 kB / 0.7727 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-05/0.8759, allocations: 177.6 kB / 0.7729 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.197e-05/0.876, allocations: 181.3 kB / 0.7731 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.8762, allocations: 334.5 kB / 0.7734 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.8763, allocations: 213.6 kB / 0.7736 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.8764, allocations: 184.9 kB / 0.7738 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.8766, allocations: 101.5 kB / 0.7739 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.8767, allocations: 181.6 kB / 0.7741 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.8767, allocations: 110.2 kB / 0.7742 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003169/0.877, allocations: 274.4 kB / 0.7744 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.877, allocations: 0 / 0.7744 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002969/0.8773, allocations: 31.81 kB / 0.7745 GB, free: 10.55 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.0001591/0.8775, allocations: 172.4 kB / 0.7746 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.199e-05/0.8776, allocations: 19.38 kB / 0.7746 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8776, allocations: 1.469 kB / 0.7746 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.8776, allocations: 0.75 kB / 0.7746 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009687/0.8786, allocations: 0.5487 MB / 0.7752 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.8792, allocations: 480.5 kB / 0.7756 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.8796, allocations: 0.7561 MB / 0.7764 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.8796, allocations: 20.31 kB / 0.7764 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8796, allocations: 0.875 kB / 0.7764 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of Templates: time 0.005241/0.8849, allocations: 3.11 MB / 0.7794 GB, free: 8.777 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)