Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001742/0.001743, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002641/0.00264, allocations: 297 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.226/1.226, allocations: 178.5 MB / 0.5079 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 104.2 kB / 0.6071 GB, free: 9.27 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2027, allocations: 89.14 MB / 0.6942 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003612/0.2064, allocations: 2.11 MB / 0.6962 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.2081, allocations: 1.041 MB / 0.6972 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.2083, allocations: 4 kB / 0.6972 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.64e-05/0.2084, allocations: 27.67 kB / 0.6973 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.2087, allocations: 83.22 kB / 0.6974 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.2091, allocations: 194.2 kB / 0.6975 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.2094, allocations: 298.6 kB / 0.6978 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.2096, allocations: 64.92 kB / 0.6979 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.2098, allocations: 107.6 kB / 0.698 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.21, allocations: 139.4 kB / 0.6981 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.2101, allocations: 20 kB / 0.6981 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.2105, allocations: 291.7 kB / 0.6984 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.2106, allocations: 47.77 kB / 0.6985 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.2107, allocations: 123.3 kB / 0.6986 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.2111, allocations: 322.9 kB / 0.6989 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2111, allocations: 0 / 0.6989 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2111, allocations: 0 / 0.6989 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2111, allocations: 4 kB / 0.6989 GB, free: 11.18 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001112/0.2123, allocations: 0.631 MB / 0.6995 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2123, allocations: 11.97 kB / 0.6995 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.2125, allocations: 36.56 kB / 0.6996 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2129, allocations: 267.6 kB / 0.6998 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2129, allocations: 12.66 kB / 0.6998 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.2129, allocations: 16.31 kB / 0.6998 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.2135, allocations: 232.9 kB / 0.7001 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2135, allocations: 0 / 0.7001 GB, free: 9.875 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.2135, allocations: 8 kB / 0.7001 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.2135, allocations: 7.938 kB / 0.7001 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.2142, allocations: 203.7 kB / 0.7003 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2155, allocations: 0.9462 MB / 0.7012 GB, free: 8.645 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.2163, allocations: 237.2 kB / 0.7014 GB, free: 8.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.2166, allocations: 105.6 kB / 0.7015 GB, free: 8.285 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.2167, allocations: 11.92 kB / 0.7015 GB, free: 8.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2167, allocations: 38.56 kB / 0.7016 GB, free: 8.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.2167, allocations: 0 / 0.7016 GB, free: 8.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001229/0.2179, allocations: 337.4 kB / 0.7019 GB, free: 7.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.218, allocations: 81.11 kB / 0.702 GB, free: 7.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.2183, allocations: 267 kB / 0.7022 GB, free: 7.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.2183, allocations: 29.7 kB / 0.7022 GB, free: 7.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.2185, allocations: 160.1 kB / 0.7024 GB, free: 7.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.2185, allocations: 55.14 kB / 0.7025 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.2186, allocations: 49.7 kB / 0.7025 GB, free: 7.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2188, allocations: 330.8 kB / 0.7028 GB, free: 6.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.2191, allocations: 95.91 kB / 0.7029 GB, free: 6.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.2195, allocations: 139.3 kB / 0.703 GB, free: 6.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/0.2202, allocations: 237.7 kB / 0.7033 GB, free: 6.379 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2202, allocations: 0 / 0.7033 GB, free: 6.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008574/0.2211, allocations: 297 kB / 0.7036 GB, free: 6.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2211, allocations: 11.98 kB / 0.7036 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2211, allocations: 160 / 0.7036 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2212, allocations: 8 kB / 0.7036 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.2214, allocations: 55.89 kB / 0.7036 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2215, allocations: 4 kB / 0.7036 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.2217, allocations: 43.8 kB / 0.7037 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2217, allocations: 11.94 kB / 0.7037 GB, free: 5.949 MB / 0.545 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 (23): * Single equations (assignments): 23 * 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.0001497/0.2219, allocations: 133.8 kB / 0.7038 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.222, allocations: 31.66 kB / 0.7038 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008513/0.2229, allocations: 287.8 kB / 0.7041 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2229, allocations: 4 kB / 0.7041 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2229, allocations: 0 / 0.7041 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2229, allocations: 4 kB / 0.7041 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.2233, allocations: 297.3 kB / 0.7044 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.2233, allocations: 3.938 kB / 0.7044 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.2236, allocations: 47.95 kB / 0.7045 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2236, allocations: 4 kB / 0.7045 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2236, allocations: 8 kB / 0.7045 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2236, allocations: 4 kB / 0.7045 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2236, allocations: 7.922 kB / 0.7045 GB, free: 5.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.2245, allocations: 426.4 kB / 0.7049 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.2246, allocations: 112.6 kB / 0.705 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.2247, allocations: 4 kB / 0.705 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2249, allocations: 31.97 kB / 0.705 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.225, allocations: 19.97 kB / 0.705 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.225, allocations: 4 kB / 0.705 GB, free: 4.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001927/0.2252, allocations: 194 kB / 0.7052 GB, free: 4.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.537e-06/0.2252, allocations: 0 / 0.7052 GB, free: 4.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003622/0.2256, allocations: 55.94 kB / 0.7053 GB, free: 4.203 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002219/0.2258, allocations: 121.8 kB / 0.7054 GB, free: 4.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007836/0.2266, allocations: 247.7 kB / 0.7056 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2266, allocations: 3.938 kB / 0.7056 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.227, allocations: 112.2 kB / 0.7057 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.2276, allocations: 81.27 kB / 0.7058 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.2285, allocations: 472.5 kB / 0.7063 GB, free: 3.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.2289, allocations: 0.7519 MB / 0.707 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.121e-05/0.229, allocations: 23.44 kB / 0.707 GB, free: 2.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.229, allocations: 0 / 0.707 GB, free: 2.34 MB / 0.545 GB Notification: Performance of Templates: time 0.2811/0.5101, allocations: 3.443 MB / 0.7104 GB, free: 49.54 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)