Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001189/0.001189, allocations: 109.4 kB / 15.69 MB, free: 128 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.001527/0.001527, allocations: 189.3 kB / 16.62 MB, free: 6.582 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.794/1.794, 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.001528/0.001528, allocations: 73.66 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.687/0.9367, allocations: 148 MB / 0.9281 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004651/0.9414, allocations: 4.63 MB / 0.9326 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.9418, allocations: 11.62 kB / 0.9326 GB, free: 4.906 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 (2) 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 (2) 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.0007512/0.9426, allocations: 166.8 kB / 0.9328 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.9429, allocations: 86.78 kB / 0.9329 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.9431, allocations: 63.23 kB / 0.9329 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.9435, allocations: 296.5 kB / 0.9332 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.9438, allocations: 107.1 kB / 0.9333 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.944, allocations: 110.5 kB / 0.9334 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.9442, allocations: 134.2 kB / 0.9336 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.9442, allocations: 10.5 kB / 0.9336 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.475e-05/0.9442, allocations: 10.5 kB / 0.9336 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.9443, allocations: 31.3 kB / 0.9336 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.9444, allocations: 75.95 kB / 0.9337 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.9446, allocations: 157.7 kB / 0.9338 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.9446, allocations: 0.7969 kB / 0.9338 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9446, allocations: 1.094 kB / 0.9338 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.9447, allocations: 4 kB / 0.9338 GB, free: 4.848 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008865/0.9455, allocations: 445.6 kB / 0.9343 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.9456, allocations: 13.94 kB / 0.9343 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.9457, allocations: 49.02 kB / 0.9343 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.9457, allocations: 19.38 kB / 0.9343 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.9461, allocations: 256.2 kB / 0.9346 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.9461, allocations: 14.78 kB / 0.9346 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.9462, allocations: 17.44 kB / 0.9346 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.9465, allocations: 208.7 kB / 0.9348 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.9465, allocations: 1.094 kB / 0.9348 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.9465, allocations: 7.125 kB / 0.9348 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.9465, allocations: 3.5 kB / 0.9348 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.9467, allocations: 73.05 kB / 0.9349 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.9478, allocations: 1.592 MB / 0.9365 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.9479, allocations: 170.4 kB / 0.9366 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.948, allocations: 84.14 kB / 0.9367 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.948, allocations: 75.28 kB / 0.9368 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/0.9481, allocations: 111.6 kB / 0.9369 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 2.866e-06/0.9481, allocations: 0 / 0.9369 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.885e-05/0.9482, allocations: 45.25 kB / 0.9369 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.9483, allocations: 128.8 kB / 0.937 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.9485, allocations: 252.2 kB / 0.9373 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.9486, allocations: 30.98 kB / 0.9373 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.9487, allocations: 140.2 kB / 0.9375 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-06/0.9487, allocations: 0.6094 kB / 0.9375 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.9487, allocations: 20.23 kB / 0.9375 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.9489, allocations: 328.6 kB / 0.9378 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.949, allocations: 3.359 kB / 0.9378 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.949, allocations: 54.94 kB / 0.9378 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.9491, allocations: 60.92 kB / 0.9379 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9491, allocations: 3.359 kB / 0.9379 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001863/0.9493, allocations: 89.58 kB / 0.938 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9493, allocations: 6.125 kB / 0.938 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.9493, allocations: 5.031 kB / 0.938 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.9493, allocations: 4.188 kB / 0.938 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.9494, allocations: 14.92 kB / 0.938 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.9495, allocations: 7.75 kB / 0.938 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.9495, allocations: 22.5 kB / 0.938 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.9495, allocations: 1.438 kB / 0.938 GB, free: 17.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001397/0.9497, allocations: 201.6 kB / 0.9382 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.9498, allocations: 119.5 kB / 0.9384 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.9498, allocations: 122.5 kB / 0.9385 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.366e-05/0.9499, allocations: 188 kB / 0.9386 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.016e-05/0.95, allocations: 182.2 kB / 0.9388 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-05/0.9501, allocations: 179.3 kB / 0.939 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.9504, allocations: 453.9 kB / 0.9394 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.277e-05/0.9504, allocations: 105.3 kB / 0.9395 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.9504, allocations: 111.6 kB / 0.9396 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.243e-05/0.9505, allocations: 186.2 kB / 0.9398 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.9506, allocations: 179.2 kB / 0.94 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.215e-05/0.9507, allocations: 180.6 kB / 0.9402 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.518e-05/0.9507, allocations: 179.8 kB / 0.9403 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.9509, allocations: 329.1 kB / 0.9406 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.951, allocations: 201.5 kB / 0.9408 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.239e-05/0.951, allocations: 183.5 kB / 0.941 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.9511, allocations: 104.2 kB / 0.9411 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.9512, allocations: 179.1 kB / 0.9413 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.9512, allocations: 106.1 kB / 0.9414 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001627/0.9514, allocations: 185.3 kB / 0.9416 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9514, allocations: 0 / 0.9416 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002475/0.9517, allocations: 18.91 kB / 0.9416 GB, free: 13.69 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.0003902/0.9521, allocations: 0.8258 MB / 0.9424 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.462e-05/0.9522, allocations: 29.3 kB / 0.9424 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9522, allocations: 0 / 0.9424 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.9522, allocations: 0 / 0.9424 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.9529, allocations: 0.5047 MB / 0.9429 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.9549, allocations: 2.052 MB / 0.9449 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.9552, allocations: 0.7109 MB / 0.9456 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.974e-05/0.9553, allocations: 19.23 kB / 0.9456 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.9554, allocations: 47.23 kB / 0.9457 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.9554, allocations: 0 / 0.9457 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.9759, allocations: 3.527 MB / 0.9491 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/8.317, allocations: 13.27 kB / 0.9491 GB, free: 9.695 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)