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.005662/0.005662, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001051/0.001051, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7899/0.7899, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 61.34 kB / 0.5814 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.168, allocations: 80.22 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5231/0.6911, allocations: 174 MB / 0.8297 GB, free: 240 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008557/0.6997, allocations: 9.517 MB / 0.839 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.7001, allocations: 6.688 kB / 0.839 GB, free: 8.52 MB / 0.6075 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.0007547/0.7009, allocations: 200.2 kB / 0.8392 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.7012, allocations: 87.72 kB / 0.8392 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.7014, allocations: 67.31 kB / 0.8393 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000391/0.7018, allocations: 324.3 kB / 0.8396 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.7022, allocations: 209.4 kB / 0.8398 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003284/0.7025, allocations: 166.1 kB / 0.84 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.7027, allocations: 125.2 kB / 0.8401 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.7027, allocations: 19.84 kB / 0.8401 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.7027, allocations: 22.25 kB / 0.8401 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.7028, allocations: 68.64 kB / 0.8402 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.703, allocations: 129.9 kB / 0.8403 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003149/0.7033, allocations: 297.3 kB / 0.8406 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.7033, allocations: 2.656 kB / 0.8406 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7033, allocations: 0 / 0.8406 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.7033, allocations: 0 / 0.8406 GB, free: 7.387 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.0005633/0.7039, allocations: 0.5177 MB / 0.8411 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.7039, allocations: 14.62 kB / 0.8411 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.704, allocations: 34.22 kB / 0.8412 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.7044, allocations: 272.8 kB / 0.8414 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.7044, allocations: 18.72 kB / 0.8414 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.7044, allocations: 29.34 kB / 0.8415 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004109/0.7049, allocations: 323.5 kB / 0.8418 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.7049, allocations: 0 / 0.8418 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.7049, allocations: 12.38 kB / 0.8418 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.7049, allocations: 11.78 kB / 0.8418 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.7051, allocations: 142.2 kB / 0.8419 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.7064, allocations: 1.825 MB / 0.8437 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.7065, allocations: 179.2 kB / 0.8439 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.7065, allocations: 80.14 kB / 0.844 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.7066, allocations: 75.28 kB / 0.844 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.7066, allocations: 108.7 kB / 0.8441 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7066, allocations: 0 / 0.8441 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.503e-05/0.7067, allocations: 57.77 kB / 0.8442 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.7068, allocations: 130.7 kB / 0.8443 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.7072, allocations: 373 kB / 0.8447 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.7072, allocations: 25.7 kB / 0.8447 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.7074, allocations: 171.3 kB / 0.8449 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.7074, allocations: 0 / 0.8449 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.7074, allocations: 18.41 kB / 0.8449 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.7075, allocations: 338.7 kB / 0.8452 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.7076, allocations: 2.125 kB / 0.8452 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.471e-05/0.7076, allocations: 41.64 kB / 0.8452 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.882e-05/0.7077, allocations: 43.92 kB / 0.8453 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7077, allocations: 4 kB / 0.8453 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001454/0.7078, allocations: 93.66 kB / 0.8454 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7078, allocations: 4.719 kB / 0.8454 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7079, allocations: 4.469 kB / 0.8454 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.7079, allocations: 0 / 0.8454 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.708, allocations: 15.77 kB / 0.8454 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.708, allocations: 6.344 kB / 0.8454 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.708, allocations: 27.64 kB / 0.8454 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.7081, allocations: 5.969 kB / 0.8454 GB, free: 2.848 MB / 0.6075 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.0001406/0.7082, allocations: 214.6 kB / 0.8456 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.7083, allocations: 127.7 kB / 0.8458 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.368e-05/0.7084, allocations: 136.4 kB / 0.8459 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-05/0.7084, allocations: 176.3 kB / 0.8461 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.236e-05/0.7085, allocations: 187.3 kB / 0.8462 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.193e-05/0.7086, allocations: 180.2 kB / 0.8464 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.7089, allocations: 492.1 kB / 0.8469 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/0.7089, allocations: 104.9 kB / 0.847 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.709, allocations: 101 kB / 0.8471 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.338e-05/0.709, allocations: 191.2 kB / 0.8473 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/0.7091, allocations: 181.3 kB / 0.8474 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.829e-05/0.7092, allocations: 184.3 kB / 0.8476 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.087e-05/0.7092, allocations: 182.5 kB / 0.8478 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.7094, allocations: 334.1 kB / 0.8481 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.7095, allocations: 217.7 kB / 0.8483 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.7096, allocations: 183.2 kB / 0.8485 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.7097, allocations: 106 kB / 0.8486 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.7098, allocations: 176.3 kB / 0.8488 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.7098, allocations: 106.7 kB / 0.8489 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002505/0.7101, allocations: 271.3 kB / 0.8491 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7101, allocations: 0 / 0.8491 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002471/0.7103, allocations: 31.62 kB / 0.8491 GB, free: 15.05 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.0001323/0.7105, allocations: 169.7 kB / 0.8493 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.383e-05/0.7105, allocations: 25.52 kB / 0.8493 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7106, allocations: 0 / 0.8493 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-06/0.7106, allocations: 0 / 0.8493 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/0.7113, allocations: 0.5531 MB / 0.8499 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/0.7119, allocations: 447.1 kB / 0.8503 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.7124, allocations: 0.7594 MB / 0.851 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.772e-05/0.7125, allocations: 40.58 kB / 0.8511 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.7125, allocations: 20.09 kB / 0.8511 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.7125, allocations: 0 / 0.8511 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.006339/0.7188, allocations: 3.181 MB / 0.8542 GB, free: 11.71 MB / 0.6231 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)