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.0007965/0.0007966, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0008325/0.0008325, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001559/0.001559, allocations: 275.2 kB / 291.2 MB, free: 1.887 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7302/0.7302, allocations: 144.6 MB / 487 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 14.72 kB / 0.5683 GB, free: 38.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.118, allocations: 83.08 MB / 0.6494 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3929/0.5109, allocations: 145.3 MB / 0.7913 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005946/0.5169, allocations: 7.445 MB / 0.7986 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.5171, allocations: 7.406 kB / 0.7986 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.5173, allocations: 58.58 kB / 0.7987 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.5176, allocations: 118.4 kB / 0.7988 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.5177, allocations: 51.47 kB / 0.7988 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.5182, allocations: 308.4 kB / 0.7991 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.5184, allocations: 144.5 kB / 0.7993 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.5187, allocations: 121.9 kB / 0.7994 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.428e-05/0.5188, allocations: 64.22 kB / 0.7994 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.5188, allocations: 8.641 kB / 0.7995 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.314e-05/0.5188, allocations: 7.25 kB / 0.7995 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.5189, allocations: 52.69 kB / 0.7995 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.519, allocations: 65.27 kB / 0.7996 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.5192, allocations: 205.2 kB / 0.7998 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.5192, allocations: 0.625 kB / 0.7998 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5192, allocations: 0 / 0.7998 GB, free: 17.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.5192, allocations: 0.625 kB / 0.7998 GB, free: 17.94 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.0003616/0.5196, allocations: 484.7 kB / 0.8002 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.5196, allocations: 8.906 kB / 0.8002 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.5197, allocations: 27.12 kB / 0.8003 GB, free: 17.51 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.5199, allocations: 260.4 kB / 0.8005 GB, free: 17.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5199, allocations: 22.78 kB / 0.8005 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.52, allocations: 24.84 kB / 0.8006 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.5203, allocations: 320.1 kB / 0.8009 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5203, allocations: 7.672 kB / 0.8009 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.5204, allocations: 12.41 kB / 0.8009 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.5204, allocations: 7.312 kB / 0.8009 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.5206, allocations: 139.6 kB / 0.801 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.5217, allocations: 1.814 MB / 0.8028 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.153e-05/0.5217, allocations: 173.4 kB / 0.803 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.5217, allocations: 76.16 kB / 0.803 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.5218, allocations: 110.8 kB / 0.8031 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.5218, allocations: 0 / 0.8031 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.411e-05/0.5219, allocations: 58.7 kB / 0.8032 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5219, allocations: 126.7 kB / 0.8033 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.5223, allocations: 372.6 kB / 0.8037 GB, free: 15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.5223, allocations: 26.7 kB / 0.8037 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.5224, allocations: 169.9 kB / 0.8039 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.5224, allocations: 0.7812 kB / 0.8039 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.5224, allocations: 2.906 kB / 0.8039 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/0.5225, allocations: 340.4 kB / 0.8042 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.5225, allocations: 3.656 kB / 0.8042 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.5225, allocations: 39.52 kB / 0.8042 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.5226, allocations: 9.375 kB / 0.8042 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5226, allocations: 0.9375 kB / 0.8042 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001258/0.5227, allocations: 86.42 kB / 0.8043 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5227, allocations: 16.81 kB / 0.8043 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5227, allocations: 0.5312 kB / 0.8043 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5228, allocations: 5.891 kB / 0.8043 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.223e-05/0.5228, allocations: 8.594 kB / 0.8044 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5228, allocations: 1.562 kB / 0.8044 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.5229, allocations: 27.31 kB / 0.8044 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.5229, allocations: 2.75 kB / 0.8044 GB, free: 14.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.523, allocations: 214.1 kB / 0.8046 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.5231, allocations: 134.5 kB / 0.8047 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.78e-05/0.5232, allocations: 133.5 kB / 0.8048 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/0.5232, allocations: 177.3 kB / 0.805 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.873e-05/0.5233, allocations: 189.3 kB / 0.8052 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-05/0.5233, allocations: 180.6 kB / 0.8054 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.5236, allocations: 489.1 kB / 0.8058 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/0.5236, allocations: 114.6 kB / 0.8059 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.5236, allocations: 104.6 kB / 0.806 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-05/0.5237, allocations: 180.2 kB / 0.8062 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/0.5237, allocations: 178.6 kB / 0.8064 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.22e-05/0.5238, allocations: 186 kB / 0.8066 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-05/0.5238, allocations: 181.2 kB / 0.8067 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.5239, allocations: 331.2 kB / 0.807 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.524, allocations: 214.9 kB / 0.8073 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.5241, allocations: 177 kB / 0.8074 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.5242, allocations: 104.9 kB / 0.8075 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.5243, allocations: 184.9 kB / 0.8077 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.5243, allocations: 109.9 kB / 0.8078 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002245/0.5245, allocations: 270.4 kB / 0.8081 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.11e-07/0.5245, allocations: 0 / 0.8081 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000243/0.5248, allocations: 33.62 kB / 0.8081 GB, free: 10.89 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.812e-05/0.5249, allocations: 172.2 kB / 0.8083 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.728e-05/0.525, allocations: 22.22 kB / 0.8083 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.525, allocations: 2.906 kB / 0.8083 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.525, allocations: 1.312 kB / 0.8083 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006432/0.5256, allocations: 0.6104 MB / 0.8089 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.5261, allocations: 490.1 kB / 0.8093 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.5264, allocations: 0.7605 MB / 0.8101 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.818e-05/0.5265, allocations: 35.06 kB / 0.8101 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.5265, allocations: 19.53 kB / 0.8101 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.5265, allocations: 0 / 0.8101 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of Templates: time 0.005037/0.5316, allocations: 2.918 MB / 0.813 GB, free: 8.977 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: