Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005117/0.005117, allocations: 95.31 kB / 15.73 MB, free: 6.051 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.001173/0.001173, allocations: 198.4 kB / 16.68 MB, free: 5.973 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 271 kB / 290.8 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9514/0.9514, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 87.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1748, allocations: 86.98 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5359/0.7108, allocations: 174 MB / 0.9364 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009143/0.72, allocations: 9.515 MB / 0.9457 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.7203, allocations: 11.94 kB / 0.9457 GB, free: 11.16 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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.0006211/0.721, allocations: 186.7 kB / 0.9459 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.7213, allocations: 99.3 kB / 0.9459 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.7215, allocations: 67.86 kB / 0.946 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.7219, allocations: 334.6 kB / 0.9463 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.7223, allocations: 205.4 kB / 0.9465 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.7226, allocations: 163.4 kB / 0.9467 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.7228, allocations: 123.4 kB / 0.9468 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.7228, allocations: 24 kB / 0.9468 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.7228, allocations: 20 kB / 0.9468 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.7229, allocations: 75.77 kB / 0.9469 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.7231, allocations: 127.4 kB / 0.947 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.7234, allocations: 292.7 kB / 0.9473 GB, free: 9.473 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7234, allocations: 4 kB / 0.9473 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7234, allocations: 0 / 0.9473 GB, free: 9.469 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7234, allocations: 0 / 0.9473 GB, free: 9.469 MB / 0.7012 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.0005064/0.7239, allocations: 0.5143 MB / 0.9478 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.7239, allocations: 12.03 kB / 0.9478 GB, free: 8.895 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.724, allocations: 31.75 kB / 0.9479 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.7244, allocations: 283.8 kB / 0.9481 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.7244, allocations: 24.56 kB / 0.9482 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.7244, allocations: 24 kB / 0.9482 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.7249, allocations: 322.1 kB / 0.9485 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7249, allocations: 3.938 kB / 0.9485 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.7249, allocations: 12 kB / 0.9485 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.7249, allocations: 8 kB / 0.9485 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.7252, allocations: 143.7 kB / 0.9486 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.7264, allocations: 1.816 MB / 0.9504 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.7265, allocations: 173.1 kB / 0.9506 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.7265, allocations: 84.08 kB / 0.9507 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.7266, allocations: 75.28 kB / 0.9507 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.7266, allocations: 113.8 kB / 0.9508 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.7266, allocations: 0 / 0.9508 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 8.897e-05/0.7267, allocations: 57.52 kB / 0.9509 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.7268, allocations: 126.7 kB / 0.951 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.7271, allocations: 373.7 kB / 0.9514 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.7272, allocations: 25.7 kB / 0.9514 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.7273, allocations: 172 kB / 0.9516 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.7273, allocations: 3.938 kB / 0.9516 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.7273, allocations: 17.72 kB / 0.9516 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7274, allocations: 334.8 kB / 0.9519 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.7275, allocations: 15.88 kB / 0.9519 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.7275, allocations: 40.28 kB / 0.952 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.978e-05/0.7276, allocations: 44.23 kB / 0.952 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7276, allocations: 0 / 0.952 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001483/0.7277, allocations: 97.31 kB / 0.9521 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7277, allocations: 5.875 kB / 0.9521 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7278, allocations: 0 / 0.9521 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.7278, allocations: 5.312 kB / 0.9521 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.7278, allocations: 8 kB / 0.9521 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7278, allocations: 8.141 kB / 0.9521 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/0.7279, allocations: 27.73 kB / 0.9521 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.7279, allocations: 0 / 0.9521 GB, free: 4.188 MB / 0.7012 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.0001226/0.7281, allocations: 213.8 kB / 0.9524 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.7281, allocations: 136.7 kB / 0.9525 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.7282, allocations: 131 kB / 0.9526 GB, free: 3.695 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.513e-05/0.7283, allocations: 180.2 kB / 0.9528 GB, free: 3.512 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.998e-05/0.7283, allocations: 184.2 kB / 0.953 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.442e-05/0.7284, allocations: 180.2 kB / 0.9531 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.7287, allocations: 493 kB / 0.9536 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.7287, allocations: 104.2 kB / 0.9537 GB, free: 2.496 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.7288, allocations: 109 kB / 0.9538 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.158e-05/0.7288, allocations: 196.3 kB / 0.954 GB, free: 2.184 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.7289, allocations: 176.3 kB / 0.9542 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.406e-05/0.7289, allocations: 184.2 kB / 0.9543 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.453e-05/0.729, allocations: 176.3 kB / 0.9545 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.7292, allocations: 331.6 kB / 0.9548 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.7293, allocations: 213.8 kB / 0.955 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.7294, allocations: 184.2 kB / 0.9552 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.7295, allocations: 105 kB / 0.9553 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/0.7295, allocations: 180.2 kB / 0.9555 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.7296, allocations: 101 kB / 0.9556 GB, free: 480 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002713/0.7298, allocations: 275.2 kB / 0.9558 GB, free: 204 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.373e-06/0.7299, allocations: 0 / 0.9558 GB, free: 204 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000249/0.7301, allocations: 31.94 kB / 0.9559 GB, free: 172 kB / 0.7012 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.0001242/0.7302, allocations: 178.5 kB / 0.956 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.973e-05/0.7303, allocations: 19.92 kB / 0.956 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7303, allocations: 0 / 0.956 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.7303, allocations: 0 / 0.956 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007336/0.7311, allocations: 0.5461 MB / 0.9566 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.7316, allocations: 457.9 kB / 0.957 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.7319, allocations: 0.7596 MB / 0.9578 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.636e-05/0.732, allocations: 34.95 kB / 0.9578 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.732, allocations: 19.44 kB / 0.9578 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.7321, allocations: 0 / 0.9578 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of Templates: time 0.006144/0.7382, allocations: 3.186 MB / 0.9609 GB, free: 11 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)