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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 113.2 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 192.6 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8548/0.8548, allocations: 129.2 MB / 432.5 MB, free: 13.31 MB / 350.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.81 kB / 0.5987 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4488, allocations: 83.44 MB / 0.6802 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002446/0.4512, allocations: 1.78 MB / 0.6819 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000945/0.4522, allocations: 0.6636 MB / 0.6826 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.4522, allocations: 1.125 kB / 0.6826 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.4523, allocations: 11.81 kB / 0.6826 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.712e-05/0.4523, allocations: 22.09 kB / 0.6826 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.4528, allocations: 171.7 kB / 0.6828 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.453, allocations: 120.8 kB / 0.6829 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.4531, allocations: 40.83 kB / 0.6829 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.4532, allocations: 57.39 kB / 0.683 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/0.4533, allocations: 47.67 kB / 0.683 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.4533, allocations: 10 kB / 0.683 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.4535, allocations: 56.27 kB / 0.6831 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.4535, allocations: 25.25 kB / 0.6831 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.4535, allocations: 65.59 kB / 0.6832 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.4538, allocations: 143.7 kB / 0.6833 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4538, allocations: 0 / 0.6833 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4538, allocations: 1.094 kB / 0.6833 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.4538, allocations: 0 / 0.6833 GB, free: 3.57 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.000608/0.4544, allocations: 442.3 kB / 0.6837 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4544, allocations: 9.938 kB / 0.6837 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.4545, allocations: 36.97 kB / 0.6838 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008215/0.4553, allocations: 117 kB / 0.6839 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.4554, allocations: 189.6 kB / 0.6841 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.4555, allocations: 63.56 kB / 0.6841 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.4555, allocations: 5.219 kB / 0.6841 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.456, allocations: 175.5 kB / 0.6843 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.456, allocations: 0 / 0.6843 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.4561, allocations: 1.438 kB / 0.6843 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4561, allocations: 1.156 kB / 0.6843 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.4566, allocations: 161.3 kB / 0.6845 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4577, allocations: 491.5 kB / 0.6849 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009073/0.4586, allocations: 213.4 kB / 0.6851 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.4588, allocations: 85.98 kB / 0.6852 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.4589, allocations: 2.031 kB / 0.6852 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4589, allocations: 31.69 kB / 0.6852 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.4589, allocations: 0 / 0.6852 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008886/0.4598, allocations: 267.8 kB / 0.6855 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.4598, allocations: 55.34 kB / 0.6856 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4599, allocations: 144.6 kB / 0.6857 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4599, allocations: 27.02 kB / 0.6857 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.46, allocations: 109.9 kB / 0.6858 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.46, allocations: 22.66 kB / 0.6858 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.4601, allocations: 24.2 kB / 0.6859 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.4601, allocations: 317.2 kB / 0.6862 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.4604, allocations: 76.5 kB / 0.6862 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.4606, allocations: 102 kB / 0.6863 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.4611, allocations: 171.9 kB / 0.6865 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4611, allocations: 1.375 kB / 0.6865 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005809/0.4617, allocations: 202 kB / 0.6867 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4617, allocations: 7.625 kB / 0.6867 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.4617, allocations: 3.938 kB / 0.6867 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4618, allocations: 1.438 kB / 0.6867 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.462, allocations: 38.03 kB / 0.6867 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.462, allocations: 1.156 kB / 0.6867 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.4622, allocations: 29.67 kB / 0.6868 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.4622, allocations: 1.906 kB / 0.6868 GB, free: 0.6953 MB / 0.4981 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.0001016/0.4623, allocations: 122.3 kB / 0.6869 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.4624, allocations: 8.266 kB / 0.6869 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.463, allocations: 215.1 kB / 0.6871 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.463, allocations: 1.25 kB / 0.6871 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.463, allocations: 0 / 0.6871 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.463, allocations: 1.219 kB / 0.6871 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.4632, allocations: 226.5 kB / 0.6873 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4632, allocations: 3.984 kB / 0.6873 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.4634, allocations: 35.11 kB / 0.6874 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4634, allocations: 1.25 kB / 0.6874 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4634, allocations: 5.281 kB / 0.6874 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4634, allocations: 4 kB / 0.6874 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4634, allocations: 0 / 0.6874 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.464, allocations: 286.8 kB / 0.6876 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.4641, allocations: 92.06 kB / 0.6877 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.4641, allocations: 9.5 kB / 0.6877 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.4644, allocations: 28.48 kB / 0.6878 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.4644, allocations: 5.422 kB / 0.6878 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.4644, allocations: 12.27 kB / 0.6878 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.4645, allocations: 102.3 kB / 0.6879 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4645, allocations: 0 / 0.6879 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002601/0.4648, allocations: 27.5 kB / 0.6879 GB, free: 15.72 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.0009619/0.4657, allocations: 0.8214 MB / 0.6887 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.4664, allocations: 155.3 kB / 0.6889 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4664, allocations: 3.938 kB / 0.6889 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.4666, allocations: 89.94 kB / 0.689 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.4669, allocations: 8.312 kB / 0.689 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.4698, allocations: 1.827 MB / 0.6907 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4702, allocations: 0.7029 MB / 0.6914 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.278e-05/0.4703, allocations: 19.11 kB / 0.6914 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.863e-05/0.4703, allocations: 30.92 kB / 0.6915 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.4703, allocations: 0 / 0.6915 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.4968, allocations: 2.768 MB / 0.6942 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.6, allocations: 5.906 kB / 0.6942 GB, free: 11.07 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.071757518686354] Failed to read output from testmodel.py, exit status != 0: 8.6730269882828 8.700005775 8.241367721 Calling exit ...