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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, 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.001244/0.001244, allocations: 189 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.834/1.834, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.862/1.862, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001432/0.001432, allocations: 68.16 kB / 0.6722 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3059, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.9284/1.234, allocations: 174.1 MB / 0.9541 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01697/1.251, allocations: 9.52 MB / 0.9634 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008699/1.252, allocations: 10.53 kB / 0.9634 GB, free: 0.6562 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.001408/1.254, allocations: 189.1 kB / 0.9636 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008537/1.255, allocations: 98.75 kB / 0.9637 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000499/1.255, allocations: 63.19 kB / 0.9637 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001053/1.256, allocations: 330.3 kB / 0.964 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007934/1.257, allocations: 205.7 kB / 0.9642 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000886/1.258, allocations: 165.8 kB / 0.9644 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/1.258, allocations: 125.1 kB / 0.9645 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.97e-05/1.259, allocations: 21.75 kB / 0.9645 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/1.259, allocations: 22.12 kB / 0.9646 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/1.259, allocations: 75.44 kB / 0.9646 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/1.259, allocations: 128.2 kB / 0.9648 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/1.26, allocations: 292.5 kB / 0.965 GB, free: 404 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/1.26, allocations: 0 / 0.965 GB, free: 404 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/1.26, allocations: 1.094 kB / 0.965 GB, free: 404 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.893e-05/1.26, allocations: 1.188 kB / 0.965 GB, free: 404 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009564/1.261, allocations: 0.5106 MB / 0.9655 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/1.261, allocations: 9.625 kB / 0.9655 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/1.261, allocations: 36.64 kB / 0.9656 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/1.262, allocations: 275 kB / 0.9658 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/1.262, allocations: 21.97 kB / 0.9659 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.824e-05/1.262, allocations: 23.59 kB / 0.9659 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/1.262, allocations: 327 kB / 0.9662 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/1.262, allocations: 5.406 kB / 0.9662 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/1.262, allocations: 10.16 kB / 0.9662 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/1.262, allocations: 11.02 kB / 0.9662 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/1.263, allocations: 147 kB / 0.9664 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/1.264, allocations: 1.81 MB / 0.9681 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/1.264, allocations: 177.8 kB / 0.9683 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/1.265, allocations: 84.08 kB / 0.9684 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/1.265, allocations: 75.28 kB / 0.9684 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/1.265, allocations: 118.1 kB / 0.9686 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/1.265, allocations: 0 / 0.9686 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001535/1.265, allocations: 50.3 kB / 0.9686 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/1.265, allocations: 127.8 kB / 0.9687 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/1.265, allocations: 372.4 kB / 0.9691 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/1.265, allocations: 25.7 kB / 0.9691 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/1.266, allocations: 170.3 kB / 0.9693 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/1.266, allocations: 3.688 kB / 0.9693 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/1.266, allocations: 21.81 kB / 0.9693 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.266, allocations: 340.5 kB / 0.9696 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/1.266, allocations: 2.562 kB / 0.9696 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/1.266, allocations: 35.22 kB / 0.9697 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.378e-05/1.266, allocations: 47.11 kB / 0.9697 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.266, allocations: 1.203 kB / 0.9697 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002463/1.266, allocations: 93.67 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.266, allocations: 6.938 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.266, allocations: 7.141 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.266, allocations: 3.031 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/1.267, allocations: 7.188 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.267, allocations: 2.281 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/1.267, allocations: 25.19 kB / 0.9698 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/1.267, allocations: 2.594 kB / 0.9698 GB, free: 12.67 MB / 0.7325 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.0002173/1.267, allocations: 215.6 kB / 0.9701 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/1.267, allocations: 137.8 kB / 0.9702 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/1.267, allocations: 135.7 kB / 0.9703 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.802e-05/1.267, allocations: 181.4 kB / 0.9705 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.332e-05/1.267, allocations: 176.3 kB / 0.9707 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-05/1.267, allocations: 183.2 kB / 0.9708 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/1.268, allocations: 491.2 kB / 0.9713 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-05/1.268, allocations: 105 kB / 0.9714 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/1.268, allocations: 112.2 kB / 0.9715 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.852e-05/1.268, allocations: 177.4 kB / 0.9717 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.372e-05/1.268, allocations: 179.2 kB / 0.9718 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-05/1.268, allocations: 190.5 kB / 0.972 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.817e-05/1.268, allocations: 177.5 kB / 0.9722 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/1.269, allocations: 337.9 kB / 0.9725 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/1.269, allocations: 213.9 kB / 0.9727 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.269, allocations: 181.5 kB / 0.9729 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.269, allocations: 102.4 kB / 0.973 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/1.269, allocations: 185.5 kB / 0.9732 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.269, allocations: 112.1 kB / 0.9733 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003367/1.27, allocations: 269 kB / 0.9735 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.27, allocations: 0 / 0.9735 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003719/1.27, allocations: 27.56 kB / 0.9736 GB, free: 9.074 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.0001903/1.27, allocations: 173.7 kB / 0.9737 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001021/1.27, allocations: 17.56 kB / 0.9737 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.27, allocations: 1.094 kB / 0.9737 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/1.27, allocations: 3.188 kB / 0.9737 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/1.271, allocations: 0.5461 MB / 0.9743 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/1.272, allocations: 450 kB / 0.9747 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/1.273, allocations: 0.7498 MB / 0.9754 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001526/1.273, allocations: 33.47 kB / 0.9755 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/1.273, allocations: 19.19 kB / 0.9755 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of SimCode: time 7.41e-07/1.273, allocations: 0.9062 kB / 0.9755 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of Templates: time 0.009865/1.283, allocations: 3.169 MB / 0.9786 GB, free: 7.238 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (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 & ./Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)