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.00621/0.00621, allocations: 104 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.001339/0.001339, allocations: 189.6 kB / 16.67 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 290.1 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9911/0.9911, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 95.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1608, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5471/0.708, allocations: 174 MB / 0.9364 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008403/0.7165, allocations: 9.518 MB / 0.9457 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.7167, allocations: 11.94 kB / 0.9457 GB, free: 11.32 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.0005503/0.7173, allocations: 190.7 kB / 0.9459 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.7175, allocations: 91.31 kB / 0.9459 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.7176, allocations: 71.91 kB / 0.946 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.718, allocations: 326.7 kB / 0.9463 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.7183, allocations: 200.9 kB / 0.9465 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.7186, allocations: 167.3 kB / 0.9467 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.7187, allocations: 123.5 kB / 0.9468 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.7188, allocations: 20 kB / 0.9468 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.7188, allocations: 24 kB / 0.9468 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 8.15e-05/0.7189, allocations: 75.75 kB / 0.9469 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.719, allocations: 127.4 kB / 0.947 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.7193, allocations: 297.6 kB / 0.9473 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7193, allocations: 4 kB / 0.9473 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7193, allocations: 0 / 0.9473 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7193, allocations: 0 / 0.9473 GB, free: 9.633 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.0004378/0.7197, allocations: 0.5074 MB / 0.9478 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.7198, allocations: 8.031 kB / 0.9478 GB, free: 9.07 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.7198, allocations: 35.56 kB / 0.9479 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.7202, allocations: 288.5 kB / 0.9481 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.7202, allocations: 16.56 kB / 0.9481 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.7202, allocations: 24 kB / 0.9482 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.7206, allocations: 316 kB / 0.9485 GB, free: 8.324 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7207, allocations: 3.938 kB / 0.9485 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.7207, allocations: 12 kB / 0.9485 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.7207, allocations: 8 kB / 0.9485 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.7209, allocations: 155.7 kB / 0.9486 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.7221, allocations: 1.808 MB / 0.9504 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 6.927e-05/0.7221, allocations: 169.1 kB / 0.9506 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.7222, allocations: 80.14 kB / 0.9506 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.7222, allocations: 75.28 kB / 0.9507 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.7222, allocations: 117.7 kB / 0.9508 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.7222, allocations: 0 / 0.9508 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 7.664e-05/0.7223, allocations: 57.33 kB / 0.9509 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.7224, allocations: 130.7 kB / 0.951 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.7227, allocations: 377.7 kB / 0.9514 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.7228, allocations: 29.64 kB / 0.9514 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7229, allocations: 159.9 kB / 0.9516 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.7229, allocations: 0 / 0.9516 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.7229, allocations: 25.61 kB / 0.9516 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.723, allocations: 338.8 kB / 0.9519 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.723, allocations: 4 kB / 0.9519 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.7231, allocations: 40.23 kB / 0.9519 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.7231, allocations: 48.22 kB / 0.952 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7231, allocations: 0 / 0.952 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001344/0.7233, allocations: 89.97 kB / 0.9521 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.7233, allocations: 10.34 kB / 0.9521 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.7233, allocations: 0 / 0.9521 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.7233, allocations: 0 / 0.9521 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.333e-05/0.7234, allocations: 11.94 kB / 0.9521 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7234, allocations: 4 kB / 0.9521 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.7235, allocations: 30 kB / 0.9521 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.7235, allocations: 4 kB / 0.9521 GB, free: 4.371 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.0001184/0.7236, allocations: 213.7 kB / 0.9523 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.7237, allocations: 136.6 kB / 0.9525 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.7238, allocations: 130.9 kB / 0.9526 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.815e-05/0.7238, allocations: 176.3 kB / 0.9528 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.763e-05/0.7239, allocations: 188.2 kB / 0.9529 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-05/0.7239, allocations: 176.3 kB / 0.9531 GB, free: 3.328 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.7242, allocations: 493 kB / 0.9536 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.799e-05/0.7243, allocations: 105 kB / 0.9537 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.7243, allocations: 109.1 kB / 0.9538 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.818e-05/0.7244, allocations: 188.2 kB / 0.954 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.7244, allocations: 180.3 kB / 0.9541 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.323e-05/0.7245, allocations: 184.2 kB / 0.9543 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.441e-05/0.7245, allocations: 176.3 kB / 0.9545 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.7247, allocations: 331.5 kB / 0.9548 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7248, allocations: 221.6 kB / 0.955 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.7249, allocations: 180.2 kB / 0.9552 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.725, allocations: 105 kB / 0.9553 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.725, allocations: 177.5 kB / 0.9554 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.7251, allocations: 112.9 kB / 0.9556 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002535/0.7253, allocations: 271.1 kB / 0.9558 GB, free: 388 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7253, allocations: 4 kB / 0.9558 GB, free: 384 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002465/0.7256, allocations: 28 kB / 0.9558 GB, free: 356 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 9.839e-05/0.7257, allocations: 170.5 kB / 0.956 GB, free: 176 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 5.875e-05/0.7258, allocations: 15.94 kB / 0.956 GB, free: 160 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7258, allocations: 7.938 kB / 0.956 GB, free: 152 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.7258, allocations: 0 / 0.956 GB, free: 152 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.7265, allocations: 0.5474 MB / 0.9566 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.727, allocations: 451 kB / 0.957 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.7273, allocations: 0.748 MB / 0.9577 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.572e-05/0.7274, allocations: 34.97 kB / 0.9578 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.7274, allocations: 19.44 kB / 0.9578 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7275, allocations: 0 / 0.9578 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of Templates: time 0.005645/0.7331, allocations: 3.181 MB / 0.9609 GB, free: 11.2 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)