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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9146/0.9146, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001095, allocations: 175.9 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000982/0.0009822, allocations: 92.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 282.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.333e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5671, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.7223, allocations: 110.4 MB / 0.8651 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.7227, allocations: 91.81 kB / 0.8652 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02383/0.7466, allocations: 7.584 MB / 0.8726 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7466, allocations: 0 / 0.8726 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.7466, allocations: 8 kB / 0.8726 GB, free: 9.824 MB / 0.5417 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.001067/0.7477, allocations: 0.5564 MB / 0.8732 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7478, allocations: 12.03 kB / 0.8732 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.7481, allocations: 43.62 kB / 0.8732 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.7486, allocations: 282.8 kB / 0.8735 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.7487, allocations: 7.953 kB / 0.8735 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.7487, allocations: 8 kB / 0.8735 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002222/0.7489, allocations: 96.53 kB / 0.8736 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.7492, allocations: 160.4 kB / 0.8738 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7492, allocations: 0 / 0.8738 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.7492, allocations: 4 kB / 0.8738 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.7493, allocations: 4 kB / 0.8738 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.7505, allocations: 0.9155 MB / 0.8747 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005281/0.7511, allocations: 181.3 kB / 0.8748 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.7512, allocations: 57.97 kB / 0.8749 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.7513, allocations: 11.88 kB / 0.8749 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.7513, allocations: 38.56 kB / 0.875 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.7513, allocations: 4 kB / 0.875 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.000471/0.7518, allocations: 137.3 kB / 0.8751 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.7519, allocations: 81.11 kB / 0.8752 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.7521, allocations: 222.2 kB / 0.8754 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.7521, allocations: 29.7 kB / 0.8754 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.7523, allocations: 152.3 kB / 0.8755 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.7523, allocations: 55.2 kB / 0.8756 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.7523, allocations: 0 / 0.8756 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.7525, allocations: 338.8 kB / 0.8759 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.7526, allocations: 40 kB / 0.876 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.7527, allocations: 92.62 kB / 0.8761 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.7529, allocations: 55.91 kB / 0.8761 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7529, allocations: 4 kB / 0.8761 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000391/0.7533, allocations: 177.1 kB / 0.8763 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.7533, allocations: 8 kB / 0.8763 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/0.7533, allocations: 3.953 kB / 0.8763 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.7534, allocations: 4 kB / 0.8763 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.7537, allocations: 76.03 kB / 0.8764 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.7537, allocations: 4 kB / 0.8764 GB, free: 5.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.7539, allocations: 43.8 kB / 0.8764 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.754, allocations: 19.98 kB / 0.8764 GB, free: 5.668 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/0.7541, allocations: 105.8 kB / 0.8765 GB, free: 5.559 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.7542, allocations: 23.72 kB / 0.8766 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.7546, allocations: 179.2 kB / 0.8767 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7546, allocations: 3.953 kB / 0.8767 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7546, allocations: 0 / 0.8767 GB, free: 5.352 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7546, allocations: 8 kB / 0.8767 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.755, allocations: 253.9 kB / 0.877 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.755, allocations: 0 / 0.877 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.7553, allocations: 71.88 kB / 0.877 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.7553, allocations: 4 kB / 0.877 GB, free: 4.984 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.7553, allocations: 4 kB / 0.8771 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.7553, allocations: 0 / 0.8771 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7554, allocations: 11.94 kB / 0.8771 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.7558, allocations: 348.9 kB / 0.8774 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.7559, allocations: 108.8 kB / 0.8775 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.756, allocations: 0 / 0.8775 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.7563, allocations: 35.97 kB / 0.8775 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.7563, allocations: 19.97 kB / 0.8776 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.7564, allocations: 7.953 kB / 0.8776 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000173/0.7565, allocations: 166 kB / 0.8777 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7566, allocations: 0 / 0.8777 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003642/0.7569, allocations: 68.08 kB / 0.8778 GB, free: 4.191 MB / 0.5417 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 () * 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 (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 0.0002276/0.7572, allocations: 115.2 kB / 0.8779 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.7574, allocations: 115.9 kB / 0.878 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7575, allocations: 0 / 0.878 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.7576, allocations: 71.88 kB / 0.8781 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.7581, allocations: 64.56 kB / 0.8781 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.7588, allocations: 282.2 kB / 0.8784 GB, free: 3.527 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.7592, allocations: 0.7633 MB / 0.8792 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.7594, allocations: 30.06 kB / 0.8792 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.7595, allocations: 23.42 kB / 0.8792 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.7595, allocations: 4 kB / 0.8792 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of Templates: time 0.007657/0.7672, allocations: 3.171 MB / 0.8823 GB, free: 15.58 MB / 0.5573 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)