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.001532/0.001532, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001556/0.001556, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002491/0.002491, allocations: 287 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.181/1.181, allocations: 178.6 MB / 0.5079 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002758, allocations: 95.84 kB / 0.6071 GB, free: 9.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1946, allocations: 89.12 MB / 0.6941 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.501/0.6957, allocations: 174.1 MB / 0.8641 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.7073, allocations: 9.521 MB / 0.8734 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.7077, allocations: 6 kB / 0.8734 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.7084, allocations: 195.8 kB / 0.8736 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.7087, allocations: 91.31 kB / 0.8737 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.7089, allocations: 63.92 kB / 0.8738 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.7094, allocations: 326.7 kB / 0.8741 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.7098, allocations: 198.1 kB / 0.8743 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.7101, allocations: 171.3 kB / 0.8744 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.7103, allocations: 119.5 kB / 0.8745 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.7104, allocations: 20 kB / 0.8746 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.7104, allocations: 28 kB / 0.8746 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.7105, allocations: 75.75 kB / 0.8747 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.7107, allocations: 123.4 kB / 0.8748 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.711, allocations: 279 kB / 0.875 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.711, allocations: 0 / 0.875 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.292e-06/0.711, allocations: 0 / 0.875 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.711, allocations: 0 / 0.875 GB, free: 1.031 MB / 0.6231 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.0005975/0.7116, allocations: 0.5104 MB / 0.8755 GB, free: 488 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.7117, allocations: 12.03 kB / 0.8755 GB, free: 476 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.7118, allocations: 31.56 kB / 0.8756 GB, free: 444 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.7121, allocations: 266.5 kB / 0.8758 GB, free: 136 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.7121, allocations: 24.5 kB / 0.8759 GB, free: 112 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.7122, allocations: 24 kB / 0.8759 GB, free: 88 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.7127, allocations: 328.4 kB / 0.8762 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7127, allocations: 3.938 kB / 0.8762 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.7127, allocations: 12 kB / 0.8762 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.7128, allocations: 8 kB / 0.8762 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.713, allocations: 143.7 kB / 0.8764 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.7149, allocations: 1.82 MB / 0.8781 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.715, allocations: 177.1 kB / 0.8783 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.7151, allocations: 80.14 kB / 0.8784 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.7151, allocations: 75.28 kB / 0.8784 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.598e-05/0.7152, allocations: 113.8 kB / 0.8786 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.7152, allocations: 0 / 0.8786 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001018/0.7153, allocations: 57.42 kB / 0.8786 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.7154, allocations: 126.7 kB / 0.8787 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.7158, allocations: 377.5 kB / 0.8791 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.7159, allocations: 25.7 kB / 0.8791 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.716, allocations: 175.8 kB / 0.8793 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.716, allocations: 0 / 0.8793 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.7161, allocations: 13.72 kB / 0.8793 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.7163, allocations: 334.8 kB / 0.8796 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.7163, allocations: 15.98 kB / 0.8796 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.7163, allocations: 29.3 kB / 0.8797 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.603e-05/0.7164, allocations: 52.23 kB / 0.8797 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7164, allocations: 0 / 0.8797 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001888/0.7166, allocations: 89.12 kB / 0.8798 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7166, allocations: 8 kB / 0.8798 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.7167, allocations: 0.6875 kB / 0.8798 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7167, allocations: 4 kB / 0.8798 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.7168, allocations: 7.984 kB / 0.8798 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7168, allocations: 4.266 kB / 0.8798 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.7168, allocations: 31.62 kB / 0.8798 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.7169, allocations: 0 / 0.8798 GB, free: 11.77 MB / 0.6387 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.0002025/0.7171, allocations: 221.7 kB / 0.8801 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-05/0.7172, allocations: 133 kB / 0.8802 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-05/0.7173, allocations: 127 kB / 0.8803 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.951e-05/0.7174, allocations: 180.2 kB / 0.8805 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.49e-05/0.7175, allocations: 188.2 kB / 0.8807 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.239e-05/0.7176, allocations: 180.2 kB / 0.8808 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.718, allocations: 493.7 kB / 0.8813 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.902e-05/0.718, allocations: 101 kB / 0.8814 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.7181, allocations: 108.9 kB / 0.8815 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.363e-05/0.7182, allocations: 184.3 kB / 0.8817 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.7183, allocations: 187.7 kB / 0.8819 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-05/0.7183, allocations: 180.5 kB / 0.882 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.432e-05/0.7184, allocations: 184.3 kB / 0.8822 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.7186, allocations: 327.5 kB / 0.8825 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.7188, allocations: 217.6 kB / 0.8827 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.7189, allocations: 184.2 kB / 0.8829 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.719, allocations: 105 kB / 0.883 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.7191, allocations: 180.2 kB / 0.8832 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.7192, allocations: 101 kB / 0.8833 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002949/0.7195, allocations: 271.2 kB / 0.8835 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7195, allocations: 0 / 0.8835 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002928/0.7198, allocations: 35.94 kB / 0.8836 GB, free: 7.742 MB / 0.6387 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.0001512/0.72, allocations: 174.5 kB / 0.8837 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.72, allocations: 15.94 kB / 0.8837 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7201, allocations: 0 / 0.8837 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.7201, allocations: 0 / 0.8837 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/0.721, allocations: 0.5522 MB / 0.8843 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007202/0.7217, allocations: 483 kB / 0.8847 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.7221, allocations: 0.7558 MB / 0.8855 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.7222, allocations: 19.44 kB / 0.8855 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.7222, allocations: 0 / 0.8855 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of Templates: time 0.005646/0.7278, allocations: 3.106 MB / 0.8885 GB, free: 2.641 MB / 0.6387 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)