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.001176/0.001176, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001242/0.001242, allocations: 187 kB / 17.34 MB, free: 5.766 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8217/0.8217, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 66.88 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1665, allocations: 80.93 MB / 0.6653 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6585/0.825, allocations: 174 MB / 0.8353 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009673/0.8347, allocations: 9.513 MB / 0.8446 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.8352, allocations: 7.688 kB / 0.8446 GB, free: 2.789 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.0006844/0.8359, allocations: 194.3 kB / 0.8448 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.8361, allocations: 92.06 kB / 0.8449 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.8363, allocations: 73.8 kB / 0.8449 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.8368, allocations: 319.6 kB / 0.8452 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.8371, allocations: 210.2 kB / 0.8454 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.8375, allocations: 169.5 kB / 0.8456 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.8377, allocations: 125.6 kB / 0.8457 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.8377, allocations: 22.41 kB / 0.8457 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.98e-05/0.8378, allocations: 20.47 kB / 0.8458 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.8379, allocations: 72.22 kB / 0.8458 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.838, allocations: 130.1 kB / 0.846 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.8384, allocations: 300.5 kB / 0.8462 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8384, allocations: 0 / 0.8462 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8384, allocations: 0 / 0.8462 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.8384, allocations: 0 / 0.8462 GB, free: 1.648 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.0005693/0.839, allocations: 0.5059 MB / 0.8467 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.839, allocations: 11.92 kB / 0.8467 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.8391, allocations: 34.44 kB / 0.8468 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.8395, allocations: 272.5 kB / 0.847 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.8396, allocations: 22.25 kB / 0.8471 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.8396, allocations: 29.53 kB / 0.8471 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.8401, allocations: 319.3 kB / 0.8474 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.8401, allocations: 0 / 0.8474 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.8402, allocations: 12.31 kB / 0.8474 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.8402, allocations: 16.09 kB / 0.8474 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.8404, allocations: 146.3 kB / 0.8476 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.8418, allocations: 1.815 MB / 0.8493 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.8419, allocations: 177.1 kB / 0.8495 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.842, allocations: 80.14 kB / 0.8496 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.842, allocations: 75.28 kB / 0.8497 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.8421, allocations: 111.6 kB / 0.8498 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.8421, allocations: 0 / 0.8498 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 9.944e-05/0.8422, allocations: 54.02 kB / 0.8498 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.8422, allocations: 130.7 kB / 0.8499 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.8427, allocations: 373.5 kB / 0.8503 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.8427, allocations: 25.7 kB / 0.8503 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.8428, allocations: 166.9 kB / 0.8505 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.8428, allocations: 0 / 0.8505 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.8429, allocations: 22.08 kB / 0.8505 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.843, allocations: 338.6 kB / 0.8508 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.843, allocations: 6.562 kB / 0.8508 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.8431, allocations: 33.7 kB / 0.8509 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.288e-05/0.8431, allocations: 49.84 kB / 0.8509 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8431, allocations: 0 / 0.8509 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001615/0.8433, allocations: 90.34 kB / 0.851 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.8433, allocations: 6 kB / 0.851 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8433, allocations: 2.25 kB / 0.851 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8434, allocations: 2.594 kB / 0.851 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.8434, allocations: 7.609 kB / 0.851 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.8434, allocations: 7.875 kB / 0.851 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.8435, allocations: 31.12 kB / 0.851 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.8435, allocations: 2.688 kB / 0.851 GB, free: 13.13 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.000146/0.8437, allocations: 217.5 kB / 0.8513 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-05/0.8438, allocations: 129.7 kB / 0.8514 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.93e-05/0.8439, allocations: 137.1 kB / 0.8515 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.316e-05/0.844, allocations: 176.3 kB / 0.8517 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.512e-05/0.844, allocations: 187 kB / 0.8519 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/0.8441, allocations: 176.3 kB / 0.852 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.8444, allocations: 492.3 kB / 0.8525 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/0.8445, allocations: 108.9 kB / 0.8526 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.8445, allocations: 102.1 kB / 0.8527 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-05/0.8446, allocations: 186 kB / 0.8529 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/0.8447, allocations: 184.5 kB / 0.853 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-05/0.8447, allocations: 186.9 kB / 0.8532 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.628e-05/0.8448, allocations: 180.2 kB / 0.8534 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.845, allocations: 335.1 kB / 0.8537 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.8451, allocations: 213.2 kB / 0.8539 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.8452, allocations: 179 kB / 0.8541 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.8453, allocations: 105.8 kB / 0.8542 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.8454, allocations: 178.4 kB / 0.8544 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.8455, allocations: 108.9 kB / 0.8545 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002577/0.8457, allocations: 270.9 kB / 0.8547 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8457, allocations: 4 kB / 0.8547 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002711/0.846, allocations: 35.31 kB / 0.8548 GB, free: 9.332 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.0001448/0.8461, allocations: 169.9 kB / 0.8549 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.09e-05/0.8462, allocations: 21.69 kB / 0.8549 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8463, allocations: 0 / 0.8549 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.8463, allocations: 2.781 kB / 0.8549 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.8471, allocations: 0.5511 MB / 0.8555 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006356/0.8478, allocations: 466.5 kB / 0.8559 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.8481, allocations: 0.7533 MB / 0.8567 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.8482, allocations: 20.16 kB / 0.8567 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.8482, allocations: 3.938 kB / 0.8567 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of Templates: time 0.005576/0.8537, allocations: 3.145 MB / 0.8598 GB, free: 5.934 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)