Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.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.001369/0.001369, allocations: 115.3 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.002093/0.002093, allocations: 191.7 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.541/1.541, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.848/0.848, allocations: 129.2 MB / 432.5 MB, free: 13.1 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.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 68.12 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4314, allocations: 83.44 MB / 0.6802 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002164/0.4336, allocations: 1.458 MB / 0.6816 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003672/0.4339, allocations: 143.8 kB / 0.6817 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.434, allocations: 1.125 kB / 0.6817 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.434, allocations: 0 / 0.6817 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/0.4341, allocations: 9.016 kB / 0.6818 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.4343, allocations: 40.67 kB / 0.6818 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.4344, allocations: 40.2 kB / 0.6818 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4345, allocations: 21.19 kB / 0.6819 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.4346, allocations: 18.08 kB / 0.6819 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.4346, allocations: 22.42 kB / 0.6819 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.4346, allocations: 3.344 kB / 0.6819 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.4347, allocations: 29.38 kB / 0.6819 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.4347, allocations: 18.14 kB / 0.6819 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.4347, allocations: 16.31 kB / 0.682 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.4349, allocations: 70.25 kB / 0.682 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4349, allocations: 0.8438 kB / 0.682 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4349, allocations: 0 / 0.682 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4349, allocations: 1.094 kB / 0.682 GB, free: 4.527 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003828/0.4353, allocations: 359.7 kB / 0.6824 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4353, allocations: 9.156 kB / 0.6824 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.4353, allocations: 39.89 kB / 0.6824 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.4363, allocations: 213.9 kB / 0.6826 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.705e-05/0.4364, allocations: 171.4 kB / 0.6828 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4364, allocations: 1.5 kB / 0.6828 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.4364, allocations: 7.625 kB / 0.6828 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.4369, allocations: 194.9 kB / 0.683 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.437, allocations: 3.938 kB / 0.683 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.437, allocations: 5.312 kB / 0.683 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.437, allocations: 0 / 0.683 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007527/0.4377, allocations: 284.3 kB / 0.6833 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008152/0.4385, allocations: 431.6 kB / 0.6837 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009677/0.4395, allocations: 288.5 kB / 0.6839 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.4398, allocations: 104.8 kB / 0.684 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4398, allocations: 4 kB / 0.684 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.4399, allocations: 35.72 kB / 0.6841 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.4399, allocations: 3.938 kB / 0.6841 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001036/0.4409, allocations: 314.7 kB / 0.6844 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.4409, allocations: 52.72 kB / 0.6844 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.738e-05/0.441, allocations: 116.2 kB / 0.6845 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.441, allocations: 26.98 kB / 0.6846 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.441, allocations: 93.5 kB / 0.6847 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.441, allocations: 6.172 kB / 0.6847 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.4411, allocations: 21.62 kB / 0.6847 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.4411, allocations: 320 kB / 0.685 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.4415, allocations: 96.09 kB / 0.6851 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.4418, allocations: 91.62 kB / 0.6852 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.4424, allocations: 175.1 kB / 0.6853 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4424, allocations: 0 / 0.6853 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006583/0.443, allocations: 221 kB / 0.6856 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.443, allocations: 8.297 kB / 0.6856 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.443, allocations: 1.344 kB / 0.6856 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4431, allocations: 0 / 0.6856 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.4433, allocations: 31.61 kB / 0.6856 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4433, allocations: 0 / 0.6856 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.4435, allocations: 30.27 kB / 0.6856 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4435, allocations: 5.141 kB / 0.6856 GB, free: 1.695 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 6.139e-05/0.4436, allocations: 119 kB / 0.6857 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.4436, allocations: 7.141 kB / 0.6857 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.4436, allocations: 14.97 kB / 0.6858 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4436, allocations: 0 / 0.6858 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4436, allocations: 4 kB / 0.6858 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4436, allocations: 5.234 kB / 0.6858 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.4438, allocations: 208.4 kB / 0.686 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4438, allocations: 0 / 0.686 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.444, allocations: 31.73 kB / 0.686 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.444, allocations: 0 / 0.686 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4441, allocations: 5.484 kB / 0.686 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4441, allocations: 8.312 kB / 0.686 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4441, allocations: 0 / 0.686 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.4447, allocations: 314.7 kB / 0.6863 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.4448, allocations: 82.41 kB / 0.6864 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.4448, allocations: 5.281 kB / 0.6864 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.445, allocations: 30.77 kB / 0.6864 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.445, allocations: 5.203 kB / 0.6864 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-06/0.445, allocations: 5.312 kB / 0.6864 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.4451, allocations: 93.3 kB / 0.6865 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4451, allocations: 0 / 0.6865 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000239/0.4453, allocations: 15.94 kB / 0.6865 GB, free: 0.8516 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.0008641/0.4462, allocations: 0.8403 MB / 0.6874 GB, free: 96 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006951/0.4469, allocations: 198.5 kB / 0.6875 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4469, allocations: 0.9688 kB / 0.6875 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.4472, allocations: 97.53 kB / 0.6876 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4475, allocations: 16.92 kB / 0.6877 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.451, allocations: 1.846 MB / 0.6895 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.4513, allocations: 0.6908 MB / 0.6901 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.424e-05/0.4514, allocations: 17.11 kB / 0.6901 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.4514, allocations: 20.89 kB / 0.6902 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.4514, allocations: 1.469 kB / 0.6902 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.4755, allocations: 1.957 MB / 0.6921 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.39, allocations: 8.609 kB / 0.6921 GB, free: 12.6 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.841420161072165] Failed to read output from testmodel.py, exit status != 0: 8.457905557006598 8.479759635 8.040550862 Calling exit ...