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.007303/0.007303, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001397/0.001397, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 67.89 kB / 0.5857 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5324, allocations: 80.91 MB / 0.6647 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2347/0.7671, allocations: 174.1 MB / 0.8346 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.7781, allocations: 9.522 MB / 0.8439 GB, free: 9.426 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004715/0.7786, allocations: 4 kB / 0.8439 GB, free: 9.422 MB / 0.67 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.0008421/0.7795, allocations: 190.6 kB / 0.8441 GB, free: 9.234 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.78, allocations: 95.3 kB / 0.8442 GB, free: 9.141 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.7802, allocations: 59.92 kB / 0.8443 GB, free: 9.082 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.7808, allocations: 326.7 kB / 0.8446 GB, free: 8.762 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.7812, allocations: 208.9 kB / 0.8448 GB, free: 8.555 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.7816, allocations: 171.3 kB / 0.8449 GB, free: 8.387 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.7818, allocations: 115.5 kB / 0.8451 GB, free: 8.273 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.7819, allocations: 20 kB / 0.8451 GB, free: 8.254 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.7819, allocations: 24 kB / 0.8451 GB, free: 8.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.689e-05/0.7821, allocations: 79.75 kB / 0.8452 GB, free: 8.152 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.7822, allocations: 127.3 kB / 0.8453 GB, free: 8.027 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.7826, allocations: 300.5 kB / 0.8456 GB, free: 7.734 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7826, allocations: 0 / 0.8456 GB, free: 7.734 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7826, allocations: 0 / 0.8456 GB, free: 7.734 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.7826, allocations: 0 / 0.8456 GB, free: 7.734 MB / 0.67 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.0005856/0.7832, allocations: 0.5259 MB / 0.8461 GB, free: 7.16 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7833, allocations: 8.031 kB / 0.8461 GB, free: 7.152 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.7833, allocations: 31.81 kB / 0.8461 GB, free: 7.121 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.7838, allocations: 271.7 kB / 0.8464 GB, free: 6.816 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.7838, allocations: 20.5 kB / 0.8464 GB, free: 6.797 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.7839, allocations: 28 kB / 0.8464 GB, free: 6.77 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.7843, allocations: 320 kB / 0.8467 GB, free: 6.414 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.7844, allocations: 4 kB / 0.8468 GB, free: 6.41 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.7844, allocations: 11.94 kB / 0.8468 GB, free: 6.398 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.7844, allocations: 11.94 kB / 0.8468 GB, free: 6.387 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.7846, allocations: 143.7 kB / 0.8469 GB, free: 6.246 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.7862, allocations: 1.824 MB / 0.8487 GB, free: 4.324 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.037e-05/0.7863, allocations: 173.1 kB / 0.8489 GB, free: 4.145 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.7864, allocations: 88.06 kB / 0.8489 GB, free: 4.055 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.7864, allocations: 75.28 kB / 0.849 GB, free: 3.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.7865, allocations: 109.8 kB / 0.8491 GB, free: 3.863 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 2.786e-06/0.7865, allocations: 112 / 0.8491 GB, free: 3.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 0.0001124/0.7866, allocations: 65.39 kB / 0.8492 GB, free: 3.793 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.7867, allocations: 130.7 kB / 0.8493 GB, free: 3.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.7871, allocations: 373.7 kB / 0.8497 GB, free: 3.285 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.7871, allocations: 25.7 kB / 0.8497 GB, free: 3.254 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.7872, allocations: 163.9 kB / 0.8498 GB, free: 3.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-06/0.7872, allocations: 0 / 0.8498 GB, free: 3.09 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.7873, allocations: 25.7 kB / 0.8499 GB, free: 3.059 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7874, allocations: 330.8 kB / 0.8502 GB, free: 2.727 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.7875, allocations: 8 kB / 0.8502 GB, free: 2.719 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.295e-05/0.7875, allocations: 36.42 kB / 0.8502 GB, free: 2.668 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.7876, allocations: 52.16 kB / 0.8503 GB, free: 2.602 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.7876, allocations: 11.94 kB / 0.8503 GB, free: 2.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001607/0.7878, allocations: 81.44 kB / 0.8504 GB, free: 2.504 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.7878, allocations: 8 kB / 0.8504 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7878, allocations: 0 / 0.8504 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7878, allocations: 0 / 0.8504 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.7879, allocations: 11.94 kB / 0.8504 GB, free: 2.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.7879, allocations: 4 kB / 0.8504 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.788, allocations: 27.73 kB / 0.8504 GB, free: 2.453 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.788, allocations: 8.156 kB / 0.8504 GB, free: 2.445 MB / 0.67 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.000148/0.7882, allocations: 218.4 kB / 0.8506 GB, free: 2.223 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.7882, allocations: 128.8 kB / 0.8508 GB, free: 2.09 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.7883, allocations: 126.9 kB / 0.8509 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-05/0.7884, allocations: 184.3 kB / 0.851 GB, free: 1.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-05/0.7885, allocations: 180.2 kB / 0.8512 GB, free: 1.586 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.241e-05/0.7886, allocations: 180.3 kB / 0.8514 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.7889, allocations: 493 kB / 0.8519 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.876e-05/0.789, allocations: 108.9 kB / 0.852 GB, free: 0.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.789, allocations: 101 kB / 0.8521 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.7891, allocations: 184.2 kB / 0.8522 GB, free: 468 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/0.7892, allocations: 184.3 kB / 0.8524 GB, free: 276 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-05/0.7893, allocations: 184.3 kB / 0.8526 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001112/0.7894, allocations: 184.2 kB / 0.8528 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.7896, allocations: 331.5 kB / 0.8531 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.7898, allocations: 209.9 kB / 0.8533 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.7899, allocations: 184.5 kB / 0.8535 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.79, allocations: 112.9 kB / 0.8536 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.7901, allocations: 184.3 kB / 0.8537 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.7902, allocations: 108.9 kB / 0.8538 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003199/0.7905, allocations: 271.2 kB / 0.8541 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7905, allocations: 0 / 0.8541 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003061/0.7908, allocations: 32 kB / 0.8541 GB, free: 14.42 MB / 0.6856 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.0001953/0.791, allocations: 170.5 kB / 0.8543 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.7912, allocations: 15.94 kB / 0.8543 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.7912, allocations: 0 / 0.8543 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.7912, allocations: 7.984 kB / 0.8543 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.7921, allocations: 0.548 MB / 0.8549 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.7929, allocations: 441 kB / 0.8553 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.7933, allocations: 0.7557 MB / 0.856 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.7935, allocations: 38.95 kB / 0.856 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.7935, allocations: 19.44 kB / 0.8561 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/0.7935, allocations: 0 / 0.8561 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of Templates: time 0.007413/0.801, allocations: 3.17 MB / 0.8592 GB, free: 9.254 MB / 0.6856 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)