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.001582/0.001583, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001789/0.001789, allocations: 192.2 kB / 16.25 MB, free: 6.641 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.034/1.034, allocations: 135.6 MB / 425.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.23 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1685, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4806/0.6491, allocations: 171.7 MB / 0.7522 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.6606, allocations: 9.436 MB / 0.7614 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.6611, allocations: 7.938 kB / 0.7614 GB, free: 7.297 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.0007132/0.6619, allocations: 164 kB / 0.7616 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.6622, allocations: 91.44 kB / 0.7616 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.6624, allocations: 55.95 kB / 0.7617 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.6629, allocations: 322.7 kB / 0.762 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.6633, allocations: 205.4 kB / 0.7622 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.6637, allocations: 167.4 kB / 0.7624 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.6639, allocations: 135.4 kB / 0.7625 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.6639, allocations: 20 kB / 0.7625 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.664, allocations: 24 kB / 0.7625 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.6641, allocations: 71.81 kB / 0.7626 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.6643, allocations: 127.4 kB / 0.7627 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.6646, allocations: 278.9 kB / 0.763 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6646, allocations: 0 / 0.763 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6646, allocations: 0 / 0.763 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.6647, allocations: 0 / 0.763 GB, free: 5.672 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.0006622/0.6653, allocations: 0.5144 MB / 0.7635 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.6654, allocations: 19.97 kB / 0.7635 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.6655, allocations: 32.78 kB / 0.7635 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.6659, allocations: 260.5 kB / 0.7638 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6659, allocations: 16.56 kB / 0.7638 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.6659, allocations: 28 kB / 0.7638 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.6665, allocations: 323.9 kB / 0.7641 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.6665, allocations: 4 kB / 0.7641 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.6665, allocations: 8 kB / 0.7642 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.6665, allocations: 11.94 kB / 0.7642 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.6668, allocations: 143.7 kB / 0.7643 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.6684, allocations: 1.812 MB / 0.7661 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.6685, allocations: 169.1 kB / 0.7662 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.6685, allocations: 88.19 kB / 0.7663 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.6686, allocations: 79.22 kB / 0.7664 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.6687, allocations: 117.3 kB / 0.7665 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6687, allocations: 0 / 0.7665 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001078/0.6688, allocations: 61.25 kB / 0.7666 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.6689, allocations: 126.7 kB / 0.7667 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.6694, allocations: 373.7 kB / 0.767 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.6694, allocations: 25.7 kB / 0.7671 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.6695, allocations: 167.8 kB / 0.7672 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.6696, allocations: 0 / 0.7672 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.6696, allocations: 21.72 kB / 0.7672 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002439/0.6699, allocations: 342.7 kB / 0.7676 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.6699, allocations: 4 kB / 0.7676 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.6699, allocations: 36.3 kB / 0.7676 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.4e-05/0.67, allocations: 44.23 kB / 0.7677 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.67, allocations: 0 / 0.7677 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.6702, allocations: 89.22 kB / 0.7677 GB, free: 492 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6702, allocations: 7.984 kB / 0.7677 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6702, allocations: 0 / 0.7677 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6703, allocations: 4.156 kB / 0.7678 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.6703, allocations: 12 kB / 0.7678 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.6703, allocations: 0 / 0.7678 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.6704, allocations: 27.59 kB / 0.7678 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.6704, allocations: 8 kB / 0.7678 GB, free: 432 kB / 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.0001684/0.6706, allocations: 213 kB / 0.768 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6707, allocations: 128.6 kB / 0.7681 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.6709, allocations: 131 kB / 0.7682 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001421/0.671, allocations: 192.2 kB / 0.7684 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.922e-05/0.6711, allocations: 176.3 kB / 0.7686 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.58e-05/0.6712, allocations: 184.3 kB / 0.7688 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.6717, allocations: 497 kB / 0.7692 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-05/0.6717, allocations: 104.9 kB / 0.7693 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.6718, allocations: 109 kB / 0.7695 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.301e-05/0.6719, allocations: 180.3 kB / 0.7696 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/0.672, allocations: 180.2 kB / 0.7698 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.236e-05/0.6721, allocations: 180.3 kB / 0.77 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.996e-05/0.6722, allocations: 180.8 kB / 0.7701 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.6724, allocations: 339.3 kB / 0.7705 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.6725, allocations: 209.7 kB / 0.7707 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6727, allocations: 184.3 kB / 0.7708 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6728, allocations: 104.9 kB / 0.7709 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.6729, allocations: 180.3 kB / 0.7711 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-05/0.673, allocations: 111.2 kB / 0.7712 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002888/0.6732, allocations: 271.1 kB / 0.7715 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6733, allocations: 4 kB / 0.7715 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002646/0.6735, allocations: 27.94 kB / 0.7715 GB, free: 12.39 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.0001787/0.6737, allocations: 174.5 kB / 0.7717 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.094e-05/0.6738, allocations: 16 kB / 0.7717 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6738, allocations: 4.312 kB / 0.7717 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.201e-06/0.6738, allocations: 3.938 kB / 0.7717 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.6749, allocations: 0.5553 MB / 0.7722 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/0.6757, allocations: 493.1 kB / 0.7727 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.6763, allocations: 0.7595 MB / 0.7735 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.6764, allocations: 30.95 kB / 0.7735 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.6765, allocations: 19.44 kB / 0.7735 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.6765, allocations: 4 kB / 0.7735 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.007479/0.6839, allocations: 3.135 MB / 0.7766 GB, free: 7.242 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)