Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001174/0.001174, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001299/0.001299, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 0.5495 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 0.6721 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.273, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6106/0.8836, allocations: 174.1 MB / 0.954 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00911/0.8928, allocations: 9.518 MB / 0.9633 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.8931, allocations: 13.62 kB / 0.9633 GB, free: 2.84 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0006081/0.8938, allocations: 194.6 kB / 0.9635 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.894, allocations: 83.38 kB / 0.9636 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.8942, allocations: 71.86 kB / 0.9636 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.8946, allocations: 326.7 kB / 0.964 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.895, allocations: 208.8 kB / 0.9642 GB, free: 1.969 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.8953, allocations: 167.4 kB / 0.9643 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.8955, allocations: 127.3 kB / 0.9644 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.8955, allocations: 20 kB / 0.9645 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 3.733e-05/0.8955, allocations: 24 kB / 0.9645 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.8956, allocations: 71.81 kB / 0.9645 GB, free: 1.566 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.8958, allocations: 127.4 kB / 0.9647 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.896, allocations: 275.1 kB / 0.9649 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.896, allocations: 3.938 kB / 0.9649 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.162e-06/0.896, allocations: 0 / 0.9649 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.896, allocations: 0 / 0.9649 GB, free: 1.168 MB / 0.7481 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.0004922/0.8965, allocations: 0.5096 MB / 0.9654 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.8966, allocations: 8.031 kB / 0.9654 GB, free: 0.6055 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.8966, allocations: 36.31 kB / 0.9655 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.897, allocations: 268.5 kB / 0.9657 GB, free: 276 kB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.897, allocations: 20.56 kB / 0.9658 GB, free: 252 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.897, allocations: 28 kB / 0.9658 GB, free: 224 kB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.8975, allocations: 324 kB / 0.9661 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.8975, allocations: 3.938 kB / 0.9661 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.8976, allocations: 12 kB / 0.9661 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.8976, allocations: 8 kB / 0.9661 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.8978, allocations: 148.9 kB / 0.9663 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.899, allocations: 1.812 MB / 0.968 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.8991, allocations: 169.1 kB / 0.9682 GB, free: 13.6 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.8992, allocations: 80.14 kB / 0.9683 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.8992, allocations: 79.22 kB / 0.9683 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.8993, allocations: 113.8 kB / 0.9684 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8993, allocations: 0 / 0.9684 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 9.883e-05/0.8994, allocations: 61.31 kB / 0.9685 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.8994, allocations: 126.7 kB / 0.9686 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.8998, allocations: 373.7 kB / 0.969 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.8999, allocations: 27.67 kB / 0.969 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.9, allocations: 163.9 kB / 0.9692 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.9, allocations: 4.109 kB / 0.9692 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.9, allocations: 21.56 kB / 0.9692 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.9002, allocations: 338.8 kB / 0.9695 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.855e-05/0.9002, allocations: 8 kB / 0.9695 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.9002, allocations: 36.73 kB / 0.9696 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.277e-05/0.9003, allocations: 48.23 kB / 0.9696 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9003, allocations: 7.984 kB / 0.9696 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001552/0.9005, allocations: 83.61 kB / 0.9697 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.9005, allocations: 11.98 kB / 0.9697 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.9005, allocations: 0 / 0.9697 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9005, allocations: 4 kB / 0.9697 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.9006, allocations: 4 kB / 0.9697 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.9006, allocations: 4 kB / 0.9697 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.9007, allocations: 27.59 kB / 0.9697 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.9007, allocations: 4.156 kB / 0.9697 GB, free: 11.91 MB / 0.7637 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.0001303/0.9008, allocations: 221 kB / 0.97 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.9009, allocations: 132.6 kB / 0.9701 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.448e-05/0.901, allocations: 123 kB / 0.9702 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.64e-05/0.9011, allocations: 188.2 kB / 0.9704 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-05/0.9011, allocations: 182 kB / 0.9705 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.183e-05/0.9012, allocations: 184.3 kB / 0.9707 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.9015, allocations: 493 kB / 0.9712 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.405e-05/0.9016, allocations: 101 kB / 0.9713 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.9016, allocations: 112.8 kB / 0.9714 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.708e-05/0.9017, allocations: 180.3 kB / 0.9716 GB, free: 9.91 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.9018, allocations: 184.5 kB / 0.9717 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.774e-05/0.9018, allocations: 184.2 kB / 0.9719 GB, free: 9.535 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.573e-05/0.9019, allocations: 181.5 kB / 0.9721 GB, free: 9.352 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.902, allocations: 327.5 kB / 0.9724 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.9021, allocations: 213.6 kB / 0.9726 GB, free: 8.773 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.9022, allocations: 188.2 kB / 0.9728 GB, free: 8.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.9023, allocations: 105 kB / 0.9729 GB, free: 8.473 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.9024, allocations: 180.2 kB / 0.9731 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.55e-05/0.9024, allocations: 101 kB / 0.9732 GB, free: 8.184 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002508/0.9027, allocations: 271.1 kB / 0.9734 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9027, allocations: 0 / 0.9734 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0002545/0.903, allocations: 36 kB / 0.9735 GB, free: 7.883 MB / 0.7637 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.0001339/0.9031, allocations: 174.5 kB / 0.9736 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 7.828e-05/0.9032, allocations: 17.91 kB / 0.9736 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9032, allocations: 0 / 0.9736 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.9032, allocations: 0 / 0.9736 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.9041, allocations: 0.5457 MB / 0.9742 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.9047, allocations: 485.2 kB / 0.9746 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.905, allocations: 0.744 MB / 0.9754 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.9051, allocations: 19.44 kB / 0.9754 GB, free: 5.863 MB / 0.7637 GB Notification: Performance of SimCode: time 2.5e-07/0.9051, allocations: 7 kB / 0.9754 GB, free: 5.859 MB / 0.7637 GB Notification: Performance of Templates: time 0.004906/0.91, allocations: 3.112 MB / 0.9784 GB, free: 2.824 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)