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.001183/0.001183, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001199/0.001199, allocations: 191 kB / 17.29 MB, free: 5.516 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.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2556, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6408/0.8964, allocations: 174 MB / 0.9547 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009437/0.9059, allocations: 9.515 MB / 0.964 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003737/0.9064, allocations: 11.94 kB / 0.964 GB, free: 2.414 MB / 0.7481 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.0006726/0.9071, allocations: 194.7 kB / 0.9642 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.9074, allocations: 95.31 kB / 0.9643 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.9076, allocations: 59.92 kB / 0.9644 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.908, allocations: 338.6 kB / 0.9647 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004247/0.9084, allocations: 210.7 kB / 0.9649 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.9088, allocations: 159.4 kB / 0.9651 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.909, allocations: 131.4 kB / 0.9652 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.909, allocations: 24 kB / 0.9652 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.909, allocations: 24 kB / 0.9652 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.9091, allocations: 71.77 kB / 0.9653 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.9094, allocations: 127.3 kB / 0.9654 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.9098, allocations: 286.9 kB / 0.9657 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9098, allocations: 0 / 0.9657 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.805e-06/0.9098, allocations: 4 kB / 0.9657 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.9098, allocations: 0 / 0.9657 GB, free: 0.7227 MB / 0.7481 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.000665/0.9105, allocations: 0.5058 MB / 0.9662 GB, free: 176 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.9105, allocations: 14.38 kB / 0.9662 GB, free: 164 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.9106, allocations: 35.56 kB / 0.9662 GB, free: 128 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.911, allocations: 268.5 kB / 0.9665 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.911, allocations: 20.56 kB / 0.9665 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.9111, allocations: 24 kB / 0.9665 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.9116, allocations: 327.9 kB / 0.9668 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.9116, allocations: 0 / 0.9668 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.9117, allocations: 12 kB / 0.9669 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.9117, allocations: 8 kB / 0.9669 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.9119, allocations: 143.7 kB / 0.967 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.9135, allocations: 1.81 MB / 0.9688 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.9136, allocations: 173.1 kB / 0.9689 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.9137, allocations: 84.14 kB / 0.969 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.9138, allocations: 83.33 kB / 0.9691 GB, free: 13 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.9138, allocations: 109.8 kB / 0.9692 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9138, allocations: 0 / 0.9692 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001254/0.914, allocations: 53.33 kB / 0.9692 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.914, allocations: 126.7 kB / 0.9694 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.9145, allocations: 377.7 kB / 0.9697 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.9145, allocations: 29.64 kB / 0.9698 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.9146, allocations: 167.8 kB / 0.9699 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.9146, allocations: 0 / 0.9699 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.9147, allocations: 22.66 kB / 0.9699 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9149, allocations: 338.8 kB / 0.9703 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.9149, allocations: 0 / 0.9703 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.186e-05/0.915, allocations: 44.28 kB / 0.9703 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.977e-05/0.915, allocations: 40.23 kB / 0.9703 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.915, allocations: 0 / 0.9703 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001693/0.9152, allocations: 93.22 kB / 0.9704 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.9152, allocations: 4 kB / 0.9704 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9152, allocations: 0 / 0.9704 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.9153, allocations: 4 kB / 0.9704 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.9154, allocations: 8 kB / 0.9704 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.9154, allocations: 4.828 kB / 0.9705 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.9155, allocations: 31.59 kB / 0.9705 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.9155, allocations: 4 kB / 0.9705 GB, free: 11.47 MB / 0.7637 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.0001644/0.9157, allocations: 221.1 kB / 0.9707 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/0.9158, allocations: 136.7 kB / 0.9708 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.9159, allocations: 131 kB / 0.971 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.344e-05/0.9159, allocations: 182.5 kB / 0.9711 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.726e-05/0.916, allocations: 176.3 kB / 0.9713 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.312e-05/0.9161, allocations: 192.2 kB / 0.9715 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.9165, allocations: 487 kB / 0.9719 GB, free: 9.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.419e-05/0.9165, allocations: 104.9 kB / 0.972 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.9166, allocations: 105.1 kB / 0.9721 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.515e-05/0.9167, allocations: 184.3 kB / 0.9723 GB, free: 9.473 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.9168, allocations: 184.2 kB / 0.9725 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.33e-05/0.9169, allocations: 184.2 kB / 0.9727 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.151e-05/0.9169, allocations: 180.3 kB / 0.9728 GB, free: 8.914 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.9172, allocations: 323.5 kB / 0.9732 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.9173, allocations: 221.5 kB / 0.9734 GB, free: 8.332 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.9174, allocations: 184.3 kB / 0.9735 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.9176, allocations: 105 kB / 0.9736 GB, free: 8.035 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.9177, allocations: 184.2 kB / 0.9738 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.9177, allocations: 105 kB / 0.9739 GB, free: 7.738 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002747/0.918, allocations: 267.2 kB / 0.9742 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.918, allocations: 4 kB / 0.9742 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0002942/0.9183, allocations: 24 kB / 0.9742 GB, free: 7.449 MB / 0.7637 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.000148/0.9185, allocations: 178.5 kB / 0.9744 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 8.052e-05/0.9185, allocations: 19.92 kB / 0.9744 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9185, allocations: 0 / 0.9744 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.9186, allocations: 0 / 0.9744 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.9195, allocations: 0.5595 MB / 0.9749 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006419/0.9201, allocations: 436.1 kB / 0.9753 GB, free: 6.258 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.9205, allocations: 0.7558 MB / 0.9761 GB, free: 5.477 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.9206, allocations: 38.95 kB / 0.9761 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.9206, allocations: 19.44 kB / 0.9761 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of SimCode: time 5.21e-07/0.9207, allocations: 0 / 0.9761 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of Templates: time 0.006405/0.9271, allocations: 3.155 MB / 0.9792 GB, free: 2.363 MB / 0.7637 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)