Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 102.6 kB / 16.4 MB, free: 6.453 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.00116/0.00116, allocations: 187 kB / 17.34 MB, free: 5.746 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002273/0.002273, allocations: 282.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 87.86 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5068/0.5088, allocations: 86.99 MB / 0.7671 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.179/0.6879, allocations: 147.9 MB / 0.9115 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005274/0.6932, allocations: 4.638 MB / 0.9161 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.6936, allocations: 11.94 kB / 0.9161 GB, free: 10.79 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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.0006713/0.6943, allocations: 161.8 kB / 0.9162 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.6947, allocations: 83.45 kB / 0.9163 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.6949, allocations: 67.91 kB / 0.9164 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.6953, allocations: 290.9 kB / 0.9167 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.6956, allocations: 110.4 kB / 0.9168 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.6959, allocations: 103.6 kB / 0.9169 GB, free: 9.988 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.6962, allocations: 131.5 kB / 0.917 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.6962, allocations: 12 kB / 0.917 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-05/0.6963, allocations: 12 kB / 0.917 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.6963, allocations: 31.84 kB / 0.917 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.6964, allocations: 71.61 kB / 0.9171 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.6966, allocations: 157.9 kB / 0.9173 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6967, allocations: 0 / 0.9173 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6967, allocations: 0 / 0.9173 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.6967, allocations: 7.938 kB / 0.9173 GB, free: 9.574 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004827/0.6972, allocations: 454.6 kB / 0.9177 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.6972, allocations: 8.031 kB / 0.9177 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.6973, allocations: 20.75 kB / 0.9177 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.6976, allocations: 249 kB / 0.918 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.6977, allocations: 16.38 kB / 0.918 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.6977, allocations: 23.94 kB / 0.918 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.698, allocations: 209.7 kB / 0.9182 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.698, allocations: 0 / 0.9182 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.698, allocations: 11.94 kB / 0.9182 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.6981, allocations: 4 kB / 0.9182 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.6982, allocations: 75.78 kB / 0.9183 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.6993, allocations: 1.579 MB / 0.9198 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.6994, allocations: 181 kB / 0.92 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.6994, allocations: 80.14 kB / 0.9201 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.6995, allocations: 79.28 kB / 0.9202 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.6995, allocations: 109.8 kB / 0.9203 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6995, allocations: 0 / 0.9203 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 9.971e-05/0.6996, allocations: 41.52 kB / 0.9203 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.6997, allocations: 130.7 kB / 0.9204 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.7, allocations: 254.5 kB / 0.9207 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.7, allocations: 25.7 kB / 0.9207 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.7001, allocations: 147.8 kB / 0.9208 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.7001, allocations: 0 / 0.9208 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.7001, allocations: 17.72 kB / 0.9209 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7003, allocations: 330.8 kB / 0.9212 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.7003, allocations: 4 kB / 0.9212 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.7003, allocations: 57.98 kB / 0.9212 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.7004, allocations: 65.89 kB / 0.9213 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.7004, allocations: 0 / 0.9213 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001694/0.7006, allocations: 93.22 kB / 0.9214 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.7006, allocations: 8 kB / 0.9214 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7006, allocations: 0 / 0.9214 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7007, allocations: 4 kB / 0.9214 GB, free: 5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.7007, allocations: 11.98 kB / 0.9214 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.7007, allocations: 7.938 kB / 0.9214 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.7008, allocations: 20 kB / 0.9214 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.7008, allocations: 4 kB / 0.9214 GB, free: 4.957 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000115/0.701, allocations: 201.1 kB / 0.9216 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.701, allocations: 116.8 kB / 0.9217 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.7011, allocations: 125.7 kB / 0.9219 GB, free: 4.496 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-05/0.7012, allocations: 180.3 kB / 0.922 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.9e-05/0.7013, allocations: 184.2 kB / 0.9222 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.424e-05/0.7013, allocations: 180.2 kB / 0.9224 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.7016, allocations: 457.1 kB / 0.9228 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/0.7017, allocations: 112.9 kB / 0.9229 GB, free: 3.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.7017, allocations: 101 kB / 0.923 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.759e-05/0.7018, allocations: 180.2 kB / 0.9232 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/0.7019, allocations: 184.3 kB / 0.9234 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.005e-05/0.7019, allocations: 180.3 kB / 0.9235 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.724e-05/0.702, allocations: 184.2 kB / 0.9237 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.7022, allocations: 331.4 kB / 0.924 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.7023, allocations: 197.9 kB / 0.9242 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.7024, allocations: 184.2 kB / 0.9244 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.7025, allocations: 101 kB / 0.9245 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/0.7025, allocations: 180.3 kB / 0.9247 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.7026, allocations: 108.9 kB / 0.9248 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001548/0.7027, allocations: 182 kB / 0.9249 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7028, allocations: 4 kB / 0.9249 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002375/0.703, allocations: 16 kB / 0.925 GB, free: 1.125 MB / 0.6856 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.0001408/0.7031, allocations: 174.5 kB / 0.9251 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.963e-05/0.7032, allocations: 19.94 kB / 0.9251 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7032, allocations: 0 / 0.9251 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.7032, allocations: 448 / 0.9251 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.7039, allocations: 0.5025 MB / 0.9256 GB, free: 428 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.7044, allocations: 348.8 kB / 0.926 GB, free: 44 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.7047, allocations: 0.7125 MB / 0.9267 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.7047, allocations: 15.44 kB / 0.9267 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of SimCode: time 3.01e-07/0.7047, allocations: 0 / 0.9267 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of Templates: time 0.003878/0.7086, allocations: 1.903 MB / 0.9285 GB, free: 13.4 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)