Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 112.6 kB / 17.33 MB, free: 5.027 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.001906/0.001906, allocations: 201.8 kB / 18.33 MB, free: 4.035 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.494/1.494, allocations: 225.6 MB / 244.8 MB, free: 13.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8633/0.8633, allocations: 128.4 MB / 426.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 73.44 kB / 0.5912 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2066, allocations: 83.26 MB / 0.6725 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003212/0.2098, allocations: 1.77 MB / 0.6742 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2111, allocations: 0.6708 MB / 0.6749 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.2111, allocations: 8 kB / 0.6749 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.2112, allocations: 7.875 kB / 0.6749 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.2113, allocations: 19.78 kB / 0.6749 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.212, allocations: 162.8 kB / 0.675 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.2122, allocations: 127.7 kB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2124, allocations: 45.02 kB / 0.6752 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.2126, allocations: 63.77 kB / 0.6753 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.2127, allocations: 47.77 kB / 0.6753 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.2127, allocations: 12 kB / 0.6753 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.2128, allocations: 51.89 kB / 0.6754 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.2129, allocations: 27.91 kB / 0.6754 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.2129, allocations: 51.72 kB / 0.6755 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.2132, allocations: 151.4 kB / 0.6756 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2132, allocations: 4 kB / 0.6756 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2132, allocations: 0 / 0.6756 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2132, allocations: 0 / 0.6756 GB, free: 0.6797 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008209/0.2141, allocations: 442.8 kB / 0.676 GB, free: 204 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2141, allocations: 8.031 kB / 0.676 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008694/0.215, allocations: 116.7 kB / 0.6761 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.2152, allocations: 180.2 kB / 0.6763 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.2153, allocations: 63.95 kB / 0.6764 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2153, allocations: 12.38 kB / 0.6764 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.2159, allocations: 169.7 kB / 0.6766 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2159, allocations: 0 / 0.6766 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.2159, allocations: 8 kB / 0.6766 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2159, allocations: 0 / 0.6766 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.2166, allocations: 155.8 kB / 0.6767 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.2179, allocations: 493.5 kB / 0.6772 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000976/0.2189, allocations: 222.3 kB / 0.6774 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.2192, allocations: 80.91 kB / 0.6775 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2192, allocations: 0 / 0.6775 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.2192, allocations: 38.55 kB / 0.6775 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2192, allocations: 0 / 0.6775 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001054/0.2203, allocations: 269.2 kB / 0.6778 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2203, allocations: 51.41 kB / 0.6778 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.2206, allocations: 143.9 kB / 0.6779 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.2206, allocations: 25.7 kB / 0.678 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.2207, allocations: 108.2 kB / 0.6781 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.2207, allocations: 15.86 kB / 0.6781 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.2208, allocations: 29.7 kB / 0.6781 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.221, allocations: 322.8 kB / 0.6784 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.2213, allocations: 67.92 kB / 0.6785 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.2216, allocations: 102.5 kB / 0.6786 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.2221, allocations: 162.4 kB / 0.6787 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2221, allocations: 4 kB / 0.6787 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006648/0.2228, allocations: 197.4 kB / 0.6789 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2228, allocations: 4 kB / 0.6789 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2228, allocations: 4 kB / 0.6789 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2229, allocations: 8 kB / 0.679 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2231, allocations: 35.95 kB / 0.679 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2231, allocations: 4 kB / 0.679 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.2233, allocations: 36.09 kB / 0.679 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.2233, allocations: 4 kB / 0.679 GB, free: 12.92 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001241/0.2235, allocations: 117.8 kB / 0.6791 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2235, allocations: 15.95 kB / 0.6792 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007115/0.2242, allocations: 202.2 kB / 0.6793 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2242, allocations: 3.938 kB / 0.6794 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2242, allocations: 4 kB / 0.6794 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.2242, allocations: 4 kB / 0.6794 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.2246, allocations: 234.5 kB / 0.6796 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2246, allocations: 0 / 0.6796 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.2248, allocations: 31.95 kB / 0.6796 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2248, allocations: 0 / 0.6796 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.2248, allocations: 7.922 kB / 0.6796 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2248, allocations: 0 / 0.6796 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2248, allocations: 0 / 0.6796 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.2255, allocations: 295.2 kB / 0.6799 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.2256, allocations: 85.06 kB / 0.68 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.2256, allocations: 3.938 kB / 0.68 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.2259, allocations: 31.95 kB / 0.68 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.226, allocations: 8 kB / 0.68 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.226, allocations: 7.984 kB / 0.68 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.768e-05/0.2261, allocations: 105.5 kB / 0.6801 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2261, allocations: 0 / 0.6801 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002786/0.2264, allocations: 23.94 kB / 0.6802 GB, free: 11.66 MB / 0.5137 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 (6): * Single equations (assignments): 6 * 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.0001555/0.2265, allocations: 95.25 kB / 0.6802 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006532/0.2272, allocations: 167.8 kB / 0.6804 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2272, allocations: 0 / 0.6804 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.2275, allocations: 87.98 kB / 0.6805 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.2279, allocations: 14.42 kB / 0.6805 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007902/0.2287, allocations: 251.6 kB / 0.6807 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.2291, allocations: 0.7041 MB / 0.6814 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.285e-05/0.2292, allocations: 11.98 kB / 0.6814 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.434e-05/0.2292, allocations: 19.42 kB / 0.6815 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.2292, allocations: 0 / 0.6815 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of Templates: time 0.004907/0.2342, allocations: 1.515 MB / 0.6829 GB, free: 8.754 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480]