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.001164/0.001164, allocations: 105.4 kB / 15.7 MB, free: 24 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.001064/0.001064, allocations: 193.4 kB / 16.64 MB, free: 6.453 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.425/1.425, allocations: 205.1 MB / 222.5 MB, free: 4.59 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.729/1.729, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001452/0.001452, allocations: 71.92 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2515, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6715/0.9231, allocations: 148 MB / 0.9282 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005025/0.9282, allocations: 4.641 MB / 0.9327 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004202/0.9287, allocations: 10.03 kB / 0.9327 GB, free: 4.957 MB / 0.7169 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.0005849/0.9293, allocations: 161.7 kB / 0.9329 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.9297, allocations: 90.33 kB / 0.933 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.9299, allocations: 62.83 kB / 0.933 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.9302, allocations: 308.7 kB / 0.9333 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.9305, allocations: 151.3 kB / 0.9335 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.9307, allocations: 116.3 kB / 0.9336 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.9309, allocations: 154.4 kB / 0.9337 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.9309, allocations: 16.56 kB / 0.9337 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.403e-05/0.9309, allocations: 14.69 kB / 0.9337 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.931, allocations: 62.03 kB / 0.9338 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.9312, allocations: 105.7 kB / 0.9339 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.9315, allocations: 238.3 kB / 0.9341 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9315, allocations: 0 / 0.9341 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9315, allocations: 0 / 0.9341 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.9315, allocations: 2.156 kB / 0.9341 GB, free: 4.891 MB / 0.7169 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.0007635/0.9323, allocations: 498.9 kB / 0.9346 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.9323, allocations: 8.828 kB / 0.9346 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.9324, allocations: 52.72 kB / 0.9347 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.9324, allocations: 32.5 kB / 0.9347 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.9328, allocations: 267.9 kB / 0.935 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.9328, allocations: 16.34 kB / 0.935 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.9328, allocations: 21.41 kB / 0.935 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.9332, allocations: 308.6 kB / 0.9353 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.9332, allocations: 7.875 kB / 0.9353 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.9332, allocations: 8.188 kB / 0.9353 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.9332, allocations: 7.531 kB / 0.9353 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.9334, allocations: 122.3 kB / 0.9354 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.9348, allocations: 1.97 MB / 0.9374 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.486e-05/0.9348, allocations: 174.9 kB / 0.9375 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.9349, allocations: 80.14 kB / 0.9376 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.9349, allocations: 75.28 kB / 0.9377 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.935, allocations: 112.8 kB / 0.9378 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.935, allocations: 0 / 0.9378 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.053e-05/0.9351, allocations: 55.47 kB / 0.9378 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.9351, allocations: 126.7 kB / 0.9379 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.9355, allocations: 332.7 kB / 0.9383 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.9355, allocations: 25.7 kB / 0.9383 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.9356, allocations: 160.1 kB / 0.9384 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.9356, allocations: 5.016 kB / 0.9384 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.9356, allocations: 22.84 kB / 0.9385 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9358, allocations: 339.8 kB / 0.9388 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.492e-05/0.9358, allocations: 10.28 kB / 0.9388 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.9359, allocations: 51.73 kB / 0.9389 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.9359, allocations: 72.92 kB / 0.9389 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9359, allocations: 0 / 0.9389 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001865/0.9361, allocations: 107.4 kB / 0.939 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.9361, allocations: 6.312 kB / 0.939 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9362, allocations: 3.312 kB / 0.939 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.9362, allocations: 5.125 kB / 0.939 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.9363, allocations: 18.28 kB / 0.9391 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9363, allocations: 3.844 kB / 0.9391 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.9364, allocations: 23.25 kB / 0.9391 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.9364, allocations: 7.875 kB / 0.9391 GB, free: 16.91 MB / 0.7325 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.0001624/0.9366, allocations: 218 kB / 0.9393 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.9367, allocations: 127.5 kB / 0.9394 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.42e-05/0.9368, allocations: 126.1 kB / 0.9395 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.108e-05/0.9369, allocations: 183.5 kB / 0.9397 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.656e-05/0.937, allocations: 182.9 kB / 0.9399 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.549e-05/0.937, allocations: 180.9 kB / 0.9401 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.9373, allocations: 485.5 kB / 0.9405 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.9374, allocations: 106.4 kB / 0.9406 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.9374, allocations: 104 kB / 0.9407 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.296e-05/0.9375, allocations: 181.8 kB / 0.9409 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.9375, allocations: 188.6 kB / 0.9411 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.074e-05/0.9376, allocations: 179.4 kB / 0.9413 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.906e-05/0.9377, allocations: 183.9 kB / 0.9414 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.9378, allocations: 322.7 kB / 0.9417 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.9379, allocations: 211.2 kB / 0.9419 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.331e-05/0.938, allocations: 188.8 kB / 0.9421 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.9381, allocations: 107.8 kB / 0.9422 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.9382, allocations: 180.5 kB / 0.9424 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.9382, allocations: 104.1 kB / 0.9425 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002201/0.9385, allocations: 236.6 kB / 0.9427 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9385, allocations: 0 / 0.9427 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000247/0.9387, allocations: 28.12 kB / 0.9427 GB, free: 13.35 MB / 0.7325 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.0003788/0.9391, allocations: 0.827 MB / 0.9435 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.836e-05/0.9392, allocations: 30.61 kB / 0.9436 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9392, allocations: 4.188 kB / 0.9436 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.9392, allocations: 3.312 kB / 0.9436 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.9399, allocations: 0.5177 MB / 0.9441 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.9428, allocations: 2.508 MB / 0.9465 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.9433, allocations: 0.7465 MB / 0.9473 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.9434, allocations: 26.56 kB / 0.9473 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.9435, allocations: 60.64 kB / 0.9474 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.9435, allocations: 1.156 kB / 0.9474 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.9681, allocations: 4.755 MB / 0.952 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.831, allocations: 10.69 kB / 0.952 GB, free: 9.266 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)