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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.212/1.212, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.497/1.497, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.001257/0.001257, allocations: 72.64 kB / 0.6716 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1633, allocations: 114.5 MB / 0.7835 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4619/0.6252, allocations: 174 MB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006958/0.6322, allocations: 9.522 MB / 0.9627 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.6325, allocations: 10.34 kB / 0.9627 GB, free: 5.25 MB / 0.7325 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.0004751/0.633, allocations: 191.3 kB / 0.9629 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.6332, allocations: 99.77 kB / 0.963 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.6334, allocations: 66.48 kB / 0.9631 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.6338, allocations: 329.5 kB / 0.9634 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.6341, allocations: 211.2 kB / 0.9636 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.6345, allocations: 166.5 kB / 0.9638 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.6347, allocations: 120.9 kB / 0.9639 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.977e-05/0.6347, allocations: 21.5 kB / 0.9639 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.794e-05/0.6348, allocations: 21.66 kB / 0.9639 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.6349, allocations: 73.67 kB / 0.964 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.6351, allocations: 128.8 kB / 0.9641 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.6354, allocations: 278.8 kB / 0.9644 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6354, allocations: 4.531 kB / 0.9644 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6354, allocations: 0.5312 kB / 0.9644 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.6355, allocations: 0 / 0.9644 GB, free: 5.172 MB / 0.7325 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.0007634/0.6362, allocations: 0.5104 MB / 0.9649 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.6363, allocations: 9.781 kB / 0.9649 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.471e-05/0.6363, allocations: 61.72 kB / 0.9649 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.6364, allocations: 34.59 kB / 0.965 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.6367, allocations: 265.8 kB / 0.9652 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.6368, allocations: 18.06 kB / 0.9653 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.6368, allocations: 30.77 kB / 0.9653 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.6373, allocations: 329.2 kB / 0.9656 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.6373, allocations: 4.516 kB / 0.9656 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.6373, allocations: 10.59 kB / 0.9656 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.6374, allocations: 7.281 kB / 0.9656 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.6376, allocations: 145.7 kB / 0.9658 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.6386, allocations: 1.814 MB / 0.9675 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.6387, allocations: 170.6 kB / 0.9677 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.6387, allocations: 85.42 kB / 0.9678 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.6388, allocations: 79.22 kB / 0.9678 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.6388, allocations: 106.9 kB / 0.9679 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6388, allocations: 0 / 0.9679 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.65e-05/0.6389, allocations: 55.34 kB / 0.968 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.6389, allocations: 127.8 kB / 0.9681 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.6393, allocations: 377.4 kB / 0.9685 GB, free: 18.1 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.6393, allocations: 27.89 kB / 0.9685 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.6394, allocations: 167 kB / 0.9687 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.6394, allocations: 1.125 kB / 0.9687 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.6394, allocations: 16.59 kB / 0.9687 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.6395, allocations: 341.6 kB / 0.969 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.6396, allocations: 7.234 kB / 0.969 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.6396, allocations: 37.39 kB / 0.9691 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.6396, allocations: 44.06 kB / 0.9691 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6396, allocations: 6.125 kB / 0.9691 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001324/0.6398, allocations: 93.08 kB / 0.9692 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.6398, allocations: 6.641 kB / 0.9692 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.6398, allocations: 0.9688 kB / 0.9692 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6398, allocations: 2.125 kB / 0.9692 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.6399, allocations: 10.78 kB / 0.9692 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.6399, allocations: 3.188 kB / 0.9692 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.64, allocations: 23.66 kB / 0.9692 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.64, allocations: 2.656 kB / 0.9692 GB, free: 17.48 MB / 0.7481 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.0001094/0.6401, allocations: 219.1 kB / 0.9694 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.6402, allocations: 139.1 kB / 0.9696 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.6402, allocations: 133.5 kB / 0.9697 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.346e-05/0.6403, allocations: 184.6 kB / 0.9699 GB, free: 16.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-05/0.6404, allocations: 180.6 kB / 0.9701 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.65e-05/0.6404, allocations: 185.7 kB / 0.9702 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.6407, allocations: 490 kB / 0.9707 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-05/0.6407, allocations: 107.3 kB / 0.9708 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.6407, allocations: 104.6 kB / 0.9709 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.023e-05/0.6408, allocations: 180 kB / 0.9711 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.6408, allocations: 186.1 kB / 0.9713 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-05/0.6409, allocations: 178.4 kB / 0.9714 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-05/0.6409, allocations: 184.1 kB / 0.9716 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.641, allocations: 328.4 kB / 0.9719 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.568e-05/0.6411, allocations: 219.2 kB / 0.9721 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.6412, allocations: 184.4 kB / 0.9723 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.6413, allocations: 104.4 kB / 0.9724 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.6413, allocations: 183.7 kB / 0.9726 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.6414, allocations: 103.3 kB / 0.9727 GB, free: 14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002141/0.6416, allocations: 270.8 kB / 0.9729 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6416, allocations: 0 / 0.9729 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002517/0.6418, allocations: 29.67 kB / 0.973 GB, free: 13.91 MB / 0.7481 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.0002832/0.6421, allocations: 0.8353 MB / 0.9738 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.099e-05/0.6422, allocations: 14.88 kB / 0.9738 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6422, allocations: 2.797 kB / 0.9738 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.6422, allocations: 4 kB / 0.9738 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.6429, allocations: 0.5469 MB / 0.9743 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.6451, allocations: 2.7 MB / 0.977 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.6453, allocations: 0.7538 MB / 0.9777 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.48e-05/0.6454, allocations: 37.62 kB / 0.9777 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.965e-05/0.6455, allocations: 74.67 kB / 0.9778 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.6455, allocations: 0 / 0.9778 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3842/1.03, allocations: 5.828 MB / 0.9835 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.858/10.89, allocations: 13.02 kB / 0.9835 GB, free: 9.738 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)