Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001455/0.001455, allocations: 192 kB / 16.14 MB, free: 6.688 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8922/0.8922, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 60.81 kB / 0.5011 GB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5144, allocations: 80.2 MB / 0.5794 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2243/0.7388, allocations: 171.9 MB / 0.7472 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009487/0.7483, allocations: 9.52 MB / 0.7565 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.7488, allocations: 11.94 kB / 0.7566 GB, free: 11.75 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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.0006615/0.7495, allocations: 159 kB / 0.7567 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.7498, allocations: 75.5 kB / 0.7568 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.75, allocations: 55.95 kB / 0.7568 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.7504, allocations: 398.3 kB / 0.7572 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.7507, allocations: 195.2 kB / 0.7574 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003312/0.7511, allocations: 151.4 kB / 0.7575 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.7512, allocations: 131.3 kB / 0.7577 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.477e-05/0.7513, allocations: 16 kB / 0.7577 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.7513, allocations: 19.94 kB / 0.7577 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-05/0.7514, allocations: 67.81 kB / 0.7578 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.7516, allocations: 119.4 kB / 0.7579 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.7518, allocations: 271 kB / 0.7581 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7518, allocations: 0 / 0.7581 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7519, allocations: 0 / 0.7581 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.7519, allocations: 4 kB / 0.7581 GB, free: 10.12 MB / 0.5919 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.0005698/0.7524, allocations: 0.5196 MB / 0.7587 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.7525, allocations: 8.031 kB / 0.7587 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.7526, allocations: 31.66 kB / 0.7587 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.7529, allocations: 270.4 kB / 0.7589 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.7529, allocations: 16.56 kB / 0.759 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.7529, allocations: 28 kB / 0.759 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.7534, allocations: 320 kB / 0.7593 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.7534, allocations: 3.938 kB / 0.7593 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.7534, allocations: 15.94 kB / 0.7593 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.7535, allocations: 12 kB / 0.7593 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.7537, allocations: 139.8 kB / 0.7595 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.755, allocations: 1.812 MB / 0.7612 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.7551, allocations: 173.1 kB / 0.7614 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.7552, allocations: 80.14 kB / 0.7615 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.7552, allocations: 75.28 kB / 0.7615 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.7553, allocations: 113.8 kB / 0.7617 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 2.284e-06/0.7553, allocations: 112 / 0.7617 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 9.101e-05/0.7554, allocations: 57.27 kB / 0.7617 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.7554, allocations: 126.7 kB / 0.7618 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.7558, allocations: 373.7 kB / 0.7622 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.7558, allocations: 25.7 kB / 0.7622 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.756, allocations: 179.7 kB / 0.7624 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.756, allocations: 0 / 0.7624 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.756, allocations: 17.72 kB / 0.7624 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7561, allocations: 338.8 kB / 0.7627 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.7562, allocations: 7.984 kB / 0.7627 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.7562, allocations: 36.23 kB / 0.7628 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.478e-05/0.7563, allocations: 44.23 kB / 0.7628 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.7563, allocations: 3.938 kB / 0.7628 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001595/0.7564, allocations: 85.34 kB / 0.7629 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.7565, allocations: 8.156 kB / 0.7629 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.7565, allocations: 4 kB / 0.7629 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.7565, allocations: 3.938 kB / 0.7629 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.935e-05/0.7566, allocations: 15.92 kB / 0.7629 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7566, allocations: 0 / 0.7629 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.7567, allocations: 27.59 kB / 0.7629 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.7567, allocations: 4 kB / 0.7629 GB, free: 4.859 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.0001431/0.7568, allocations: 213 kB / 0.7632 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.7569, allocations: 132.6 kB / 0.7633 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.757, allocations: 131 kB / 0.7634 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/0.7571, allocations: 176.4 kB / 0.7636 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-05/0.7571, allocations: 192.2 kB / 0.7638 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.531e-05/0.7572, allocations: 180.3 kB / 0.7639 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.7576, allocations: 497 kB / 0.7644 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/0.7576, allocations: 105 kB / 0.7645 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.7576, allocations: 105 kB / 0.7646 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.528e-05/0.7577, allocations: 180.2 kB / 0.7648 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.7578, allocations: 180.2 kB / 0.7649 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.43e-05/0.7579, allocations: 180.4 kB / 0.7651 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.595e-05/0.7579, allocations: 184.3 kB / 0.7653 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.7581, allocations: 335.4 kB / 0.7656 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.7582, allocations: 209.8 kB / 0.7658 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.7583, allocations: 184.2 kB / 0.766 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.7584, allocations: 104.9 kB / 0.7661 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.7585, allocations: 180.3 kB / 0.7663 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.7586, allocations: 112.9 kB / 0.7664 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002547/0.7588, allocations: 267.2 kB / 0.7666 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7588, allocations: 0 / 0.7666 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002755/0.7591, allocations: 31.94 kB / 0.7667 GB, free: 0.8398 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.0001296/0.7593, allocations: 170.5 kB / 0.7668 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.713e-05/0.7594, allocations: 27.94 kB / 0.7668 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.7594, allocations: 0 / 0.7668 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.7594, allocations: 0 / 0.7668 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/0.7603, allocations: 0.6172 MB / 0.7674 GB, free: 16 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.761, allocations: 491.1 kB / 0.7679 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.7613, allocations: 0.756 MB / 0.7687 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.874e-05/0.7614, allocations: 30.97 kB / 0.7687 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.7615, allocations: 19.44 kB / 0.7687 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/0.7615, allocations: 0 / 0.7687 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.006471/0.7679, allocations: 3.019 MB / 0.7716 GB, free: 11.72 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)