Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001028/0.001028, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008171/0.008171, allocations: 169.1 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001704, allocations: 263.1 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004415, allocations: 18.91 kB / 0.5987 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1591, allocations: 88.54 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4588/0.6179, allocations: 169.6 MB / 0.8507 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009069/0.627, allocations: 9.386 MB / 0.8599 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.6274, allocations: 9.719 kB / 0.8599 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.628, allocations: 151.7 kB / 0.8601 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.6283, allocations: 86.39 kB / 0.8601 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.6285, allocations: 58.77 kB / 0.8602 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.6289, allocations: 389.7 kB / 0.8606 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.6292, allocations: 200.3 kB / 0.8608 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.6295, allocations: 124.1 kB / 0.8609 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.6296, allocations: 90.91 kB / 0.861 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.6297, allocations: 5.25 kB / 0.861 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.249e-05/0.6297, allocations: 5.656 kB / 0.861 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.6298, allocations: 54.95 kB / 0.861 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.6299, allocations: 121 kB / 0.8612 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.6301, allocations: 269.3 kB / 0.8614 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6301, allocations: 0 / 0.8614 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6301, allocations: 0 / 0.8614 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.6302, allocations: 0 / 0.8614 GB, free: 5.336 MB / 0.5762 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.000464/0.6306, allocations: 465 kB / 0.8619 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.6307, allocations: 11.28 kB / 0.8619 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.6307, allocations: 32.91 kB / 0.8619 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.631, allocations: 273.7 kB / 0.8622 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.6311, allocations: 23.5 kB / 0.8622 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.6311, allocations: 24.72 kB / 0.8622 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.6316, allocations: 319.9 kB / 0.8625 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6316, allocations: 3.938 kB / 0.8625 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.6317, allocations: 10.62 kB / 0.8625 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.6317, allocations: 9.031 kB / 0.8625 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.6319, allocations: 142.8 kB / 0.8627 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.6333, allocations: 1.812 MB / 0.8644 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/0.6334, allocations: 173.1 kB / 0.8646 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.6334, allocations: 84.12 kB / 0.8647 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.6334, allocations: 79.22 kB / 0.8648 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.6335, allocations: 112.3 kB / 0.8649 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.6335, allocations: 0 / 0.8649 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.937e-05/0.6336, allocations: 51.23 kB / 0.8649 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.6337, allocations: 130.7 kB / 0.865 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.634, allocations: 373.2 kB / 0.8654 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.6341, allocations: 25.7 kB / 0.8654 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6342, allocations: 173.2 kB / 0.8656 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.6342, allocations: 0 / 0.8656 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.6342, allocations: 15.84 kB / 0.8656 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6344, allocations: 332.7 kB / 0.8659 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.6344, allocations: 11.28 kB / 0.8659 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.6345, allocations: 44.81 kB / 0.866 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.79e-05/0.6345, allocations: 48.95 kB / 0.866 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6345, allocations: 2.516 kB / 0.866 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001631/0.6347, allocations: 87.88 kB / 0.8661 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6347, allocations: 9.719 kB / 0.8661 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6347, allocations: 3.984 kB / 0.8661 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6348, allocations: 1.781 kB / 0.8661 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.636e-05/0.6348, allocations: 12.77 kB / 0.8661 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6348, allocations: 0 / 0.8661 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.6349, allocations: 32.06 kB / 0.8662 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.6349, allocations: 2.938 kB / 0.8662 GB, free: 0.8516 MB / 0.5762 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.0001635/0.6351, allocations: 219.5 kB / 0.8664 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.6352, allocations: 131.5 kB / 0.8665 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.6353, allocations: 125.9 kB / 0.8666 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.326e-05/0.6354, allocations: 179.5 kB / 0.8668 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.139e-05/0.6354, allocations: 192.2 kB / 0.867 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.54e-05/0.6355, allocations: 176.3 kB / 0.8671 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.6359, allocations: 492.3 kB / 0.8676 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.6359, allocations: 101 kB / 0.8677 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.636, allocations: 105 kB / 0.8678 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.937e-05/0.636, allocations: 183 kB / 0.868 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.6361, allocations: 188.2 kB / 0.8682 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-05/0.6362, allocations: 184.2 kB / 0.8683 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-05/0.6363, allocations: 178.7 kB / 0.8685 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.6364, allocations: 328 kB / 0.8688 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.6366, allocations: 218.1 kB / 0.869 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.6367, allocations: 188.2 kB / 0.8692 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.6368, allocations: 101 kB / 0.8693 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.6368, allocations: 186.9 kB / 0.8695 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.6369, allocations: 101 kB / 0.8696 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002268/0.6371, allocations: 272 kB / 0.8698 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6371, allocations: 4 kB / 0.8698 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002385/0.6374, allocations: 26.62 kB / 0.8699 GB, free: 13.06 MB / 0.5919 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.0001212/0.6375, allocations: 175.6 kB / 0.87 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.065e-05/0.6375, allocations: 14.84 kB / 0.87 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6376, allocations: 0 / 0.87 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.6376, allocations: 0 / 0.87 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/0.6384, allocations: 0.6259 MB / 0.8707 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.6391, allocations: 0.4993 MB / 0.8711 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.6394, allocations: 0.7511 MB / 0.8719 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.568e-05/0.6395, allocations: 33.62 kB / 0.8719 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.6395, allocations: 19.19 kB / 0.8719 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.6395, allocations: 0 / 0.8719 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.005701/0.6452, allocations: 3.009 MB / 0.8749 GB, free: 9.703 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)