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.001034/0.001034, allocations: 99.19 kB / 16.4 MB, free: 6.504 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.0009744/0.0009744, allocations: 185.6 kB / 17.34 MB, free: 5.77 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.772/0.772, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.53 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1487, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5265/0.6752, allocations: 174.1 MB / 0.8353 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009919/0.6852, allocations: 9.51 MB / 0.8446 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004046/0.6856, allocations: 11.03 kB / 0.8446 GB, free: 2.742 MB / 0.6075 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.0007725/0.6865, allocations: 192.9 kB / 0.8448 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.6869, allocations: 93.5 kB / 0.8449 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.6871, allocations: 61.64 kB / 0.8449 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005158/0.6876, allocations: 332.7 kB / 0.8452 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/0.688, allocations: 209.6 kB / 0.8454 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.6884, allocations: 157.9 kB / 0.8456 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.6886, allocations: 129.3 kB / 0.8457 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.6887, allocations: 22.41 kB / 0.8457 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.6887, allocations: 19.69 kB / 0.8458 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.221e-05/0.6888, allocations: 80.27 kB / 0.8458 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.689, allocations: 126.4 kB / 0.846 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.6893, allocations: 291.9 kB / 0.8462 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6893, allocations: 0 / 0.8462 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6893, allocations: 0 / 0.8462 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.6893, allocations: 3.938 kB / 0.8462 GB, free: 1.609 MB / 0.6075 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.0006418/0.69, allocations: 0.5109 MB / 0.8467 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.69, allocations: 11.2 kB / 0.8467 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.6901, allocations: 34.34 kB / 0.8468 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.6906, allocations: 272.4 kB / 0.847 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.6906, allocations: 21.16 kB / 0.8471 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.6907, allocations: 23.03 kB / 0.8471 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.6912, allocations: 327 kB / 0.8474 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6912, allocations: 2.562 kB / 0.8474 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.6912, allocations: 11 kB / 0.8474 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6913, allocations: 15 kB / 0.8474 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.6915, allocations: 142.3 kB / 0.8476 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.6928, allocations: 1.819 MB / 0.8493 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.842e-05/0.6929, allocations: 181 kB / 0.8495 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.6929, allocations: 80.14 kB / 0.8496 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.6929, allocations: 77.97 kB / 0.8497 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.693, allocations: 105.8 kB / 0.8498 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.693, allocations: 0 / 0.8498 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001032/0.6931, allocations: 50.3 kB / 0.8498 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.6932, allocations: 138.6 kB / 0.8499 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.6935, allocations: 368.9 kB / 0.8503 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.6936, allocations: 29.69 kB / 0.8503 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.6937, allocations: 166.8 kB / 0.8505 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-06/0.6937, allocations: 0 / 0.8505 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.6937, allocations: 18.97 kB / 0.8505 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6939, allocations: 337.7 kB / 0.8508 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.6939, allocations: 11.2 kB / 0.8508 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.6939, allocations: 33.17 kB / 0.8509 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.694, allocations: 43.52 kB / 0.8509 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.694, allocations: 2.812 kB / 0.8509 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001541/0.6941, allocations: 86.88 kB / 0.851 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6942, allocations: 5.625 kB / 0.851 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6942, allocations: 2.125 kB / 0.851 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6942, allocations: 0 / 0.851 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.6943, allocations: 15.92 kB / 0.851 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6943, allocations: 2.656 kB / 0.851 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.6944, allocations: 31.03 kB / 0.851 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.6944, allocations: 2.859 kB / 0.851 GB, free: 13.09 MB / 0.6231 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.0001368/0.6945, allocations: 222.8 kB / 0.8513 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.6946, allocations: 132.9 kB / 0.8514 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.6947, allocations: 129.3 kB / 0.8515 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.289e-05/0.6948, allocations: 182.6 kB / 0.8517 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001085/0.6949, allocations: 184.2 kB / 0.8519 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/0.695, allocations: 182.6 kB / 0.852 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.6954, allocations: 493.4 kB / 0.8525 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/0.6954, allocations: 103.5 kB / 0.8526 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.6955, allocations: 104.9 kB / 0.8527 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.581e-05/0.6955, allocations: 188.3 kB / 0.8529 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.6956, allocations: 186.6 kB / 0.8531 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.208e-05/0.6957, allocations: 180.3 kB / 0.8532 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.537e-05/0.6958, allocations: 183.1 kB / 0.8534 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.6959, allocations: 334.4 kB / 0.8537 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.6961, allocations: 209 kB / 0.8539 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.6962, allocations: 179.2 kB / 0.8541 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.6963, allocations: 101 kB / 0.8542 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.6964, allocations: 180.2 kB / 0.8544 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.78e-05/0.6964, allocations: 103.4 kB / 0.8545 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002818/0.6967, allocations: 274.9 kB / 0.8547 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6967, allocations: 0 / 0.8547 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002476/0.697, allocations: 35.22 kB / 0.8548 GB, free: 9.297 MB / 0.6231 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.0001423/0.6971, allocations: 174.1 kB / 0.8549 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.6972, allocations: 22.03 kB / 0.8549 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6972, allocations: 0 / 0.8549 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.6972, allocations: 3.938 kB / 0.8549 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.698, allocations: 0.5603 MB / 0.8555 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.6987, allocations: 459.9 kB / 0.8559 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.6991, allocations: 0.753 MB / 0.8567 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.6991, allocations: 20.28 kB / 0.8567 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.6991, allocations: 0 / 0.8567 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of Templates: time 0.005759/0.7049, allocations: 3.172 MB / 0.8598 GB, free: 5.879 MB / 0.6231 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)