Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001156/0.001156, 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.001283/0.001283, allocations: 186.9 kB / 16.62 MB, free: 6.613 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.743/1.743, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001524/0.001524, allocations: 76.98 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2456, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.6563/0.9019, allocations: 174 MB / 0.9535 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008116/0.9101, allocations: 9.51 MB / 0.9628 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004183/0.9106, allocations: 11.34 kB / 0.9628 GB, free: 452 kB / 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.0006336/0.9113, allocations: 196.6 kB / 0.963 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.9115, allocations: 88.31 kB / 0.9631 GB, free: 332 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.9117, allocations: 69.34 kB / 0.9632 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.912, allocations: 314 kB / 0.9635 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.9123, allocations: 156.3 kB / 0.9636 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.9127, allocations: 156.9 kB / 0.9638 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.9128, allocations: 101.8 kB / 0.9639 GB, free: 216 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.9128, allocations: 15.62 kB / 0.9639 GB, free: 216 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.399e-05/0.9129, allocations: 15.91 kB / 0.9639 GB, free: 216 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.948e-05/0.9129, allocations: 42 kB / 0.964 GB, free: 216 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.526e-05/0.913, allocations: 101.6 kB / 0.964 GB, free: 212 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.9133, allocations: 213.5 kB / 0.9643 GB, free: 196 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9133, allocations: 3.938 kB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9133, allocations: 0 / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9133, allocations: 0 / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004562/0.9138, allocations: 475.9 kB / 0.9647 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.9138, allocations: 9.859 kB / 0.9647 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.9139, allocations: 57 kB / 0.9648 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.9139, allocations: 26.84 kB / 0.9648 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.9143, allocations: 265.1 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.9143, allocations: 15.38 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.9143, allocations: 19.44 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.9146, allocations: 231.4 kB / 0.9653 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9147, allocations: 1.406 kB / 0.9653 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.9147, allocations: 13.53 kB / 0.9653 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.9147, allocations: 5.344 kB / 0.9653 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.9148, allocations: 93.5 kB / 0.9654 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.9159, allocations: 1.431 MB / 0.9668 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/0.916, allocations: 170.2 kB / 0.967 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.916, allocations: 84.17 kB / 0.9671 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.9161, allocations: 79.52 kB / 0.9671 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.9161, allocations: 109.8 kB / 0.9672 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.452e-06/0.9161, allocations: 0 / 0.9672 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.536e-05/0.9162, allocations: 51.89 kB / 0.9673 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.9163, allocations: 126.7 kB / 0.9674 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.9166, allocations: 293.7 kB / 0.9677 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.9166, allocations: 25.7 kB / 0.9677 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.9167, allocations: 141.6 kB / 0.9678 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-06/0.9167, allocations: 5.203 kB / 0.9678 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.9168, allocations: 18.98 kB / 0.9679 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.9169, allocations: 337.4 kB / 0.9682 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.9169, allocations: 2.312 kB / 0.9682 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.917, allocations: 28.92 kB / 0.9682 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.9171, allocations: 33.88 kB / 0.9683 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9171, allocations: 1.281 kB / 0.9683 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001847/0.9173, allocations: 73.09 kB / 0.9683 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9173, allocations: 5.469 kB / 0.9683 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9174, allocations: 0 / 0.9683 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9174, allocations: 5.688 kB / 0.9683 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.9175, allocations: 11.92 kB / 0.9683 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.9175, allocations: 1.5 kB / 0.9683 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.9175, allocations: 28.48 kB / 0.9684 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.9176, allocations: 1.438 kB / 0.9684 GB, free: 12.79 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001195/0.9177, allocations: 203.3 kB / 0.9686 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.9178, allocations: 125.6 kB / 0.9687 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.9178, allocations: 126.2 kB / 0.9688 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/0.9179, allocations: 181.2 kB / 0.969 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.396e-05/0.918, allocations: 186.6 kB / 0.9692 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.569e-05/0.918, allocations: 177.3 kB / 0.9693 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.9183, allocations: 467.5 kB / 0.9698 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/0.9184, allocations: 111.8 kB / 0.9699 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.9184, allocations: 108.7 kB / 0.97 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.598e-05/0.9185, allocations: 181.5 kB / 0.9702 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.781e-05/0.9185, allocations: 177.5 kB / 0.9703 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.289e-05/0.9186, allocations: 179.6 kB / 0.9705 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-05/0.9187, allocations: 185.5 kB / 0.9707 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.9188, allocations: 332.7 kB / 0.971 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.9189, allocations: 201.2 kB / 0.9712 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.919, allocations: 179.9 kB / 0.9714 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.9191, allocations: 110 kB / 0.9715 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.9192, allocations: 182 kB / 0.9716 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.9193, allocations: 112.6 kB / 0.9717 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001872/0.9195, allocations: 204.8 kB / 0.9719 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9195, allocations: 1.188 kB / 0.9719 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000239/0.9197, allocations: 21.19 kB / 0.972 GB, free: 9.215 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.0003907/0.9201, allocations: 0.8261 MB / 0.9728 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.9202, allocations: 17.03 kB / 0.9728 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9202, allocations: 0 / 0.9728 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.9202, allocations: 0 / 0.9728 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.9209, allocations: 0.529 MB / 0.9733 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.923, allocations: 2.229 MB / 0.9755 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.9233, allocations: 0.7241 MB / 0.9762 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.994e-05/0.9234, allocations: 25.66 kB / 0.9762 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.9235, allocations: 55.92 kB / 0.9763 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.9235, allocations: 0 / 0.9763 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.9455, allocations: 4.637 MB / 0.9808 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.381/8.327, allocations: 12 kB / 0.9808 GB, free: 5.164 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)