Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.001593/0.001593, allocations: 116.4 kB / 17.13 MB, free: 5.941 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.001913/0.001913, allocations: 195.7 kB / 20.08 MB, free: 3.008 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.485/1.485, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.9026/0.9026, allocations: 129.2 MB / 432.5 MB, free: 13.21 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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.83 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4029, allocations: 83.45 MB / 0.6802 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.00207/0.4049, allocations: 1.463 MB / 0.6816 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007432/0.4057, allocations: 0.5681 MB / 0.6822 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.4057, allocations: 0 / 0.6822 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.4057, allocations: 3.938 kB / 0.6822 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.4058, allocations: 8.984 kB / 0.6822 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.406, allocations: 44 kB / 0.6822 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.4061, allocations: 34.78 kB / 0.6823 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.796e-05/0.4061, allocations: 6.906 kB / 0.6823 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.4062, allocations: 17.42 kB / 0.6823 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.4063, allocations: 11.98 kB / 0.6823 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.4063, allocations: 1.469 kB / 0.6823 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.4064, allocations: 63.06 kB / 0.6824 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.4064, allocations: 4 kB / 0.6824 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.4064, allocations: 14.94 kB / 0.6824 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.4065, allocations: 61.89 kB / 0.6824 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4065, allocations: 0 / 0.6824 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4065, allocations: 0 / 0.6824 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4065, allocations: 1.406 kB / 0.6824 GB, free: 4.203 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003213/0.4069, allocations: 352 kB / 0.6828 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4069, allocations: 10.16 kB / 0.6828 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.778e-05/0.4069, allocations: 34.69 kB / 0.6828 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.407, allocations: 7.516 kB / 0.6828 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.798e-05/0.407, allocations: 174.8 kB / 0.683 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.407, allocations: 384 / 0.683 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.407, allocations: 1.625 kB / 0.683 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.4071, allocations: 45.69 kB / 0.683 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.4072, allocations: 5.094 kB / 0.683 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.4072, allocations: 0 / 0.683 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4072, allocations: 1 kB / 0.683 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.4072, allocations: 23.23 kB / 0.6831 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.4075, allocations: 255.5 kB / 0.6833 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.087e-05/0.4075, allocations: 27.77 kB / 0.6833 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.4076, allocations: 18.09 kB / 0.6833 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/0.4082, allocations: 480.2 kB / 0.6838 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.4083, allocations: 36 kB / 0.6838 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.061e-06/0.4083, allocations: 0 / 0.6838 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002101/0.4085, allocations: 67.61 kB / 0.6839 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.4085, allocations: 51.41 kB / 0.6839 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.4085, allocations: 107.5 kB / 0.6841 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.4085, allocations: 26.86 kB / 0.6841 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.4086, allocations: 85.17 kB / 0.6842 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.4086, allocations: 5.234 kB / 0.6842 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.4086, allocations: 11.94 kB / 0.6842 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.4086, allocations: 328.9 kB / 0.6845 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.4087, allocations: 5.531 kB / 0.6845 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.4087, allocations: 13.98 kB / 0.6845 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.502e-05/0.4088, allocations: 29.06 kB / 0.6845 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4088, allocations: 0 / 0.6845 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.844e-05/0.4089, allocations: 54.23 kB / 0.6846 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.4089, allocations: 9.406 kB / 0.6846 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.4089, allocations: 0 / 0.6846 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.4089, allocations: 1.188 kB / 0.6846 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.409, allocations: 8.203 kB / 0.6846 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.409, allocations: 3.938 kB / 0.6846 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.409, allocations: 2.188 kB / 0.6846 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.409, allocations: 1.062 kB / 0.6846 GB, free: 1.859 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 (2): * Single equations (assignments): 2 * 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 3.934e-05/0.409, allocations: 119.9 kB / 0.6847 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.4091, allocations: 6.094 kB / 0.6847 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.4092, allocations: 61.14 kB / 0.6848 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4092, allocations: 1.062 kB / 0.6848 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.4092, allocations: 0 / 0.6848 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4092, allocations: 0 / 0.6848 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.4093, allocations: 172.2 kB / 0.685 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4093, allocations: 0 / 0.685 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.4094, allocations: 4.469 kB / 0.685 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4094, allocations: 1.031 kB / 0.685 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4094, allocations: 8.016 kB / 0.685 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4094, allocations: 1.531 kB / 0.685 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4094, allocations: 0 / 0.685 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4095, allocations: 157.1 kB / 0.6851 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.4095, allocations: 78.45 kB / 0.6852 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.4095, allocations: 0 / 0.6852 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.4096, allocations: 6.797 kB / 0.6852 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.4096, allocations: 9.266 kB / 0.6852 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.4096, allocations: 0 / 0.6852 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.797e-05/0.4096, allocations: 90.42 kB / 0.6853 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4096, allocations: 0 / 0.6853 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000228/0.4099, allocations: 16.12 kB / 0.6853 GB, free: 1.117 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 (2): * Single equations (assignments): 2 * 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.0003002/0.4102, allocations: 0.6983 MB / 0.686 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.4103, allocations: 25.67 kB / 0.686 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.4103, allocations: 1.219 kB / 0.686 GB, free: 432 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.4103, allocations: 14.48 kB / 0.686 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.4105, allocations: 2.25 kB / 0.686 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.4109, allocations: 179.2 kB / 0.6862 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4112, allocations: 0.6781 MB / 0.6869 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.4112, allocations: 7.281 kB / 0.6869 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.4112, allocations: 11.44 kB / 0.6869 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.4112, allocations: 0 / 0.6869 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.4329, allocations: 1.614 MB / 0.6885 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.374, allocations: 6.156 kB / 0.6885 GB, free: 14.6 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.843122294172645] Failed to read output from testmodel.py, exit status != 0: 8.44227113109082 8.462355562 8.051973119 Calling exit ...