Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001012/0.001012, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001008/0.001008, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.157/1.157, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.488/1.488, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.00124/0.00124, allocations: 69.69 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1578, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.436/0.5938, allocations: 146 MB / 0.9255 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003505/0.5974, allocations: 4.618 MB / 0.93 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.5976, allocations: 9.219 kB / 0.93 GB, free: 6.426 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.0004113/0.5981, allocations: 134.9 kB / 0.9302 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.5983, allocations: 76.58 kB / 0.9302 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.5984, allocations: 55.86 kB / 0.9303 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.5987, allocations: 302.2 kB / 0.9306 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002437/0.599, allocations: 151 kB / 0.9307 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.5991, allocations: 112.5 kB / 0.9308 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.5993, allocations: 156.9 kB / 0.931 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.5994, allocations: 17.56 kB / 0.931 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.119e-05/0.5994, allocations: 15.19 kB / 0.931 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.5995, allocations: 66.36 kB / 0.9311 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.5996, allocations: 109.4 kB / 0.9312 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.5998, allocations: 225.8 kB / 0.9314 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5998, allocations: 1.812 kB / 0.9314 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5998, allocations: 0 / 0.9314 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.5998, allocations: 0.8125 kB / 0.9314 GB, free: 6.395 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005161/0.6003, allocations: 497.9 kB / 0.9319 GB, free: 21.98 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.6003, allocations: 8.625 kB / 0.9319 GB, free: 21.98 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.6004, allocations: 59.92 kB / 0.9319 GB, free: 21.95 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.6004, allocations: 31.41 kB / 0.932 GB, free: 21.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.6007, allocations: 246.1 kB / 0.9322 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.6007, allocations: 20.25 kB / 0.9322 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.6007, allocations: 25.34 kB / 0.9322 GB, free: 21.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.601, allocations: 304.5 kB / 0.9325 GB, free: 21.56 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.601, allocations: 2.906 kB / 0.9325 GB, free: 21.56 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.601, allocations: 7.188 kB / 0.9325 GB, free: 21.56 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.6011, allocations: 9.562 kB / 0.9325 GB, free: 21.56 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.6012, allocations: 124.7 kB / 0.9327 GB, free: 21.56 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.6021, allocations: 1.974 MB / 0.9346 GB, free: 19.85 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.6022, allocations: 175 kB / 0.9348 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.478e-05/0.6022, allocations: 80.14 kB / 0.9348 GB, free: 19.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.6022, allocations: 76.22 kB / 0.9349 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.6023, allocations: 111.2 kB / 0.935 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6023, allocations: 0.75 kB / 0.935 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 6.59e-05/0.6023, allocations: 53.36 kB / 0.9351 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.6024, allocations: 130.4 kB / 0.9352 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.6026, allocations: 329.3 kB / 0.9355 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.6026, allocations: 25.7 kB / 0.9355 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.6027, allocations: 162.7 kB / 0.9357 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.6027, allocations: 2.109 kB / 0.9357 GB, free: 18.98 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.6028, allocations: 26.5 kB / 0.9357 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.6029, allocations: 334.6 kB / 0.936 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.6029, allocations: 7.516 kB / 0.936 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.422e-05/0.6029, allocations: 58.59 kB / 0.9361 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.603, allocations: 72.14 kB / 0.9362 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.603, allocations: 2.594 kB / 0.9362 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001319/0.6031, allocations: 104.9 kB / 0.9363 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6031, allocations: 6.781 kB / 0.9363 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.6031, allocations: 0 / 0.9363 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.6031, allocations: 7.844 kB / 0.9363 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.869e-05/0.6032, allocations: 23.39 kB / 0.9363 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.6032, allocations: 0.5625 kB / 0.9363 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.6033, allocations: 25.89 kB / 0.9363 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.6033, allocations: 4.969 kB / 0.9363 GB, free: 18.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001004/0.6034, allocations: 219.4 kB / 0.9365 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.6035, allocations: 127.2 kB / 0.9367 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.6035, allocations: 137.1 kB / 0.9368 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.356e-05/0.6036, allocations: 181.4 kB / 0.937 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-05/0.6036, allocations: 177.8 kB / 0.9371 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.534e-05/0.6037, allocations: 182.8 kB / 0.9373 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.6039, allocations: 475.4 kB / 0.9378 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-05/0.604, allocations: 110.9 kB / 0.9379 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.604, allocations: 102.4 kB / 0.938 GB, free: 16.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.576e-05/0.604, allocations: 184 kB / 0.9381 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/0.6041, allocations: 184.2 kB / 0.9383 GB, free: 16.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.848e-05/0.6041, allocations: 180.8 kB / 0.9385 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.264e-05/0.6042, allocations: 177.7 kB / 0.9387 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.6043, allocations: 333.1 kB / 0.939 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.6044, allocations: 207.4 kB / 0.9392 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.086e-05/0.6045, allocations: 185.1 kB / 0.9394 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.6046, allocations: 105.7 kB / 0.9395 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.6046, allocations: 185.9 kB / 0.9396 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.6047, allocations: 105 kB / 0.9397 GB, free: 15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001887/0.6048, allocations: 239.5 kB / 0.94 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6049, allocations: 0 / 0.94 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002306/0.6051, allocations: 24.94 kB / 0.94 GB, free: 14.93 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.0002906/0.6054, allocations: 0.8324 MB / 0.9408 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.6055, allocations: 30.53 kB / 0.9408 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6055, allocations: 0.9688 kB / 0.9408 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.6055, allocations: 2.969 kB / 0.9408 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.6061, allocations: 0.5191 MB / 0.9413 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.608, allocations: 2.554 MB / 0.9438 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.6083, allocations: 0.7467 MB / 0.9446 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.356e-05/0.6084, allocations: 26.89 kB / 0.9446 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.6084, allocations: 62.05 kB / 0.9446 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.6084, allocations: 0 / 0.9446 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4385/1.047, allocations: 4.649 MB / 0.9492 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/1.047, allocations: 211.9 kB / 0.9494 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.935, allocations: 1.562 kB / 0.9494 GB, free: 10.8 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)