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.001235/0.001235, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001456/0.001457, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.699/1.699, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.868/1.868, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001411/0.001411, allocations: 73.25 kB / 0.671 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.229, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.9047/1.134, allocations: 171.7 MB / 0.9506 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01047/1.144, allocations: 9.44 MB / 0.9598 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/1.145, allocations: 8.656 kB / 0.9598 GB, free: 5.699 MB / 0.7325 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.0007808/1.146, allocations: 163.5 kB / 0.9599 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/1.146, allocations: 91.67 kB / 0.96 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/1.146, allocations: 49.19 kB / 0.9601 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/1.147, allocations: 329.2 kB / 0.9604 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/1.147, allocations: 207.6 kB / 0.9606 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003778/1.148, allocations: 165.2 kB / 0.9607 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/1.148, allocations: 124.8 kB / 0.9609 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/1.148, allocations: 24.84 kB / 0.9609 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.402e-05/1.148, allocations: 25.62 kB / 0.9609 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/1.148, allocations: 75.31 kB / 0.961 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/1.148, allocations: 127.8 kB / 0.9611 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003748/1.149, allocations: 276.4 kB / 0.9614 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.149, allocations: 0 / 0.9614 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/1.149, allocations: 0.5 kB / 0.9614 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.149, allocations: 0 / 0.9614 GB, free: 5.629 MB / 0.7325 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.001075/1.15, allocations: 0.5087 MB / 0.9619 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.15, allocations: 9.562 kB / 0.9619 GB, free: 21.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/1.15, allocations: 38.03 kB / 0.9619 GB, free: 21.19 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/1.15, allocations: 266.6 kB / 0.9622 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/1.15, allocations: 18.06 kB / 0.9622 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/1.15, allocations: 25.17 kB / 0.9622 GB, free: 20.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005659/1.151, allocations: 325.6 kB / 0.9625 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/1.151, allocations: 4.188 kB / 0.9625 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/1.151, allocations: 10.34 kB / 0.9625 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/1.151, allocations: 7.344 kB / 0.9625 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/1.151, allocations: 155.2 kB / 0.9627 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/1.153, allocations: 1.817 MB / 0.9645 GB, free: 19.33 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/1.153, allocations: 169.4 kB / 0.9646 GB, free: 19.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/1.153, allocations: 82.45 kB / 0.9647 GB, free: 19.08 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/1.153, allocations: 75.28 kB / 0.9648 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/1.153, allocations: 112 kB / 0.9649 GB, free: 18.89 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/1.153, allocations: 4.562 kB / 0.9649 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001358/1.153, allocations: 51.98 kB / 0.9649 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/1.153, allocations: 130.3 kB / 0.9651 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/1.154, allocations: 373 kB / 0.9654 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/1.154, allocations: 26.2 kB / 0.9654 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/1.154, allocations: 167.9 kB / 0.9656 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/1.154, allocations: 0.5156 kB / 0.9656 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/1.154, allocations: 19.91 kB / 0.9656 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.154, allocations: 341.8 kB / 0.9659 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/1.154, allocations: 2.625 kB / 0.9659 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/1.154, allocations: 39.45 kB / 0.966 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/1.154, allocations: 46.45 kB / 0.966 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.154, allocations: 0.6875 kB / 0.966 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001979/1.155, allocations: 91.73 kB / 0.9661 GB, free: 18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.155, allocations: 7.703 kB / 0.9661 GB, free: 18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.155, allocations: 0.9062 kB / 0.9661 GB, free: 18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.155, allocations: 3.25 kB / 0.9661 GB, free: 18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/1.155, allocations: 11.31 kB / 0.9661 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.155, allocations: 2.031 kB / 0.9661 GB, free: 17.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/1.155, allocations: 26.75 kB / 0.9662 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.155, allocations: 2.688 kB / 0.9662 GB, free: 17.98 MB / 0.7481 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.00015/1.155, allocations: 218.9 kB / 0.9664 GB, free: 17.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/1.155, allocations: 141.3 kB / 0.9665 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.192e-05/1.155, allocations: 131.9 kB / 0.9666 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-05/1.155, allocations: 181.4 kB / 0.9668 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.499e-05/1.155, allocations: 183.7 kB / 0.967 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/1.156, allocations: 180.4 kB / 0.9672 GB, free: 17 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/1.156, allocations: 489.7 kB / 0.9676 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/1.156, allocations: 107.3 kB / 0.9677 GB, free: 16.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/1.156, allocations: 104.9 kB / 0.9678 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-05/1.156, allocations: 187.1 kB / 0.968 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/1.156, allocations: 178.4 kB / 0.9682 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.399e-05/1.156, allocations: 184 kB / 0.9684 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.17e-05/1.156, allocations: 177.3 kB / 0.9685 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/1.156, allocations: 333.5 kB / 0.9688 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/1.157, allocations: 217.9 kB / 0.969 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.157, allocations: 178.5 kB / 0.9692 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/1.157, allocations: 106.5 kB / 0.9693 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/1.157, allocations: 185 kB / 0.9695 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/1.157, allocations: 102.2 kB / 0.9696 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003101/1.157, allocations: 276 kB / 0.9699 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.157, allocations: 1.203 kB / 0.9699 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002845/1.158, allocations: 27.38 kB / 0.9699 GB, free: 14.41 MB / 0.7481 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/1.158, allocations: 172.2 kB / 0.97 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 9.65e-05/1.158, allocations: 18.3 kB / 0.9701 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.158, allocations: 320 / 0.9701 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/1.158, allocations: 7.938 kB / 0.9701 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009558/1.159, allocations: 0.5489 MB / 0.9706 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/1.16, allocations: 0.4887 MB / 0.9711 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/1.16, allocations: 0.7564 MB / 0.9718 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001107/1.16, allocations: 31.16 kB / 0.9719 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/1.16, allocations: 19.41 kB / 0.9719 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/1.16, allocations: 5.203 kB / 0.9719 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of Templates: time 0.007499/1.168, allocations: 3.141 MB / 0.9749 GB, free: 12.53 MB / 0.7481 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)