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.006185/0.006185, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001401/0.001401, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9893/0.9893, allocations: 135.1 MB / 425.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 63.91 kB / 0.5857 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4893, allocations: 80.91 MB / 0.6647 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2443/0.7336, allocations: 174.1 MB / 0.8346 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.7438, allocations: 9.518 MB / 0.8439 GB, free: 9.398 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.7442, allocations: 11.94 kB / 0.844 GB, free: 9.387 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.000683/0.745, allocations: 190.7 kB / 0.8441 GB, free: 9.199 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.7452, allocations: 95.31 kB / 0.8442 GB, free: 9.105 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.7454, allocations: 63.92 kB / 0.8443 GB, free: 9.043 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.7458, allocations: 326.7 kB / 0.8446 GB, free: 8.723 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.7463, allocations: 204.9 kB / 0.8448 GB, free: 8.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004592/0.7467, allocations: 171.3 kB / 0.845 GB, free: 8.352 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.7469, allocations: 115.5 kB / 0.8451 GB, free: 8.238 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.747, allocations: 20 kB / 0.8451 GB, free: 8.219 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 4.27e-05/0.747, allocations: 28 kB / 0.8451 GB, free: 8.191 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.7471, allocations: 75.75 kB / 0.8452 GB, free: 8.117 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.7473, allocations: 131.4 kB / 0.8453 GB, free: 7.988 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.7477, allocations: 296.6 kB / 0.8456 GB, free: 7.699 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7477, allocations: 0 / 0.8456 GB, free: 7.699 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7477, allocations: 0 / 0.8456 GB, free: 7.699 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.7477, allocations: 0 / 0.8456 GB, free: 7.699 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.0006964/0.7484, allocations: 0.5146 MB / 0.8461 GB, free: 7.137 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.7485, allocations: 8.031 kB / 0.8461 GB, free: 7.129 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.7486, allocations: 27.72 kB / 0.8461 GB, free: 7.102 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.749, allocations: 285 kB / 0.8464 GB, free: 6.785 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.7491, allocations: 20.55 kB / 0.8464 GB, free: 6.766 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.7491, allocations: 28 kB / 0.8465 GB, free: 6.738 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.7497, allocations: 312 kB / 0.8467 GB, free: 6.391 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.7497, allocations: 11.92 kB / 0.8468 GB, free: 6.379 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.7498, allocations: 15.94 kB / 0.8468 GB, free: 6.363 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.7498, allocations: 8 kB / 0.8468 GB, free: 6.355 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.7501, allocations: 143.7 kB / 0.8469 GB, free: 6.215 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.7515, allocations: 1.82 MB / 0.8487 GB, free: 4.297 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.7516, allocations: 169.1 kB / 0.8489 GB, free: 4.121 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.7516, allocations: 80.14 kB / 0.8489 GB, free: 4.039 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.7517, allocations: 75.28 kB / 0.849 GB, free: 3.965 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/0.7517, allocations: 113.9 kB / 0.8491 GB, free: 3.844 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.7517, allocations: 3.938 kB / 0.8491 GB, free: 3.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 0.0001019/0.7518, allocations: 57.41 kB / 0.8492 GB, free: 3.777 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.7519, allocations: 126.7 kB / 0.8493 GB, free: 3.641 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.7523, allocations: 377.6 kB / 0.8497 GB, free: 3.27 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.7523, allocations: 25.7 kB / 0.8497 GB, free: 3.238 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.7525, allocations: 163.8 kB / 0.8498 GB, free: 3.074 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-06/0.7525, allocations: 4 kB / 0.8498 GB, free: 3.07 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.7525, allocations: 17.72 kB / 0.8499 GB, free: 3.047 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.7527, allocations: 342.8 kB / 0.8502 GB, free: 2.703 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.7528, allocations: 4 kB / 0.8502 GB, free: 2.699 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.7528, allocations: 40.23 kB / 0.8502 GB, free: 2.645 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.7529, allocations: 56.16 kB / 0.8503 GB, free: 2.574 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7529, allocations: 0 / 0.8503 GB, free: 2.574 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001459/0.753, allocations: 81.34 kB / 0.8504 GB, free: 2.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.753, allocations: 8 kB / 0.8504 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7531, allocations: 0 / 0.8504 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.7531, allocations: 4 kB / 0.8504 GB, free: 2.477 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.7531, allocations: 8.094 kB / 0.8504 GB, free: 2.469 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.7532, allocations: 8 kB / 0.8504 GB, free: 2.461 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.7532, allocations: 27.59 kB / 0.8504 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.7533, allocations: 0 / 0.8504 GB, free: 2.434 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.0001466/0.7534, allocations: 218.4 kB / 0.8506 GB, free: 2.211 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.7535, allocations: 132.5 kB / 0.8507 GB, free: 2.074 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.413e-05/0.7536, allocations: 130.9 kB / 0.8509 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.745e-05/0.7536, allocations: 184.3 kB / 0.851 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-05/0.7537, allocations: 180.2 kB / 0.8512 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-05/0.7538, allocations: 176.3 kB / 0.8514 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.7541, allocations: 497 kB / 0.8519 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/0.7542, allocations: 101 kB / 0.852 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.7542, allocations: 109 kB / 0.8521 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.597e-05/0.7543, allocations: 184.2 kB / 0.8522 GB, free: 448 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.192e-05/0.7544, allocations: 180.3 kB / 0.8524 GB, free: 260 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.076e-05/0.7544, allocations: 184.2 kB / 0.8526 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-05/0.7545, allocations: 176.3 kB / 0.8527 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.7547, allocations: 339.4 kB / 0.8531 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.7548, allocations: 205.8 kB / 0.8533 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/0.7549, allocations: 188.4 kB / 0.8534 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.755, allocations: 101 kB / 0.8535 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.7551, allocations: 180.3 kB / 0.8537 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.7552, allocations: 112.9 kB / 0.8538 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002732/0.7554, allocations: 271.2 kB / 0.8541 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7555, allocations: 0 / 0.8541 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000258/0.7557, allocations: 31.94 kB / 0.8541 GB, free: 14.41 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.0001469/0.7559, allocations: 170.5 kB / 0.8543 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.756, allocations: 15.94 kB / 0.8543 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.756, allocations: 7.938 kB / 0.8543 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.756, allocations: 320 / 0.8543 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.7568, allocations: 0.5556 MB / 0.8548 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.7574, allocations: 437.3 kB / 0.8553 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.7578, allocations: 0.7558 MB / 0.856 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 9.096e-05/0.7579, allocations: 30.97 kB / 0.856 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.7579, allocations: 19.44 kB / 0.856 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of SimCode: time 2.1e-07/0.7579, allocations: 0 / 0.856 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of Templates: time 0.006427/0.7644, allocations: 3.179 MB / 0.8592 GB, free: 9.242 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)