Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9524/0.9524, allocations: 110.2 MB / 369.4 MB, free: 1.168 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.5478 GB, free: 9.844 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.378e-05, allocations: 3.75 kB / 0.5478 GB, free: 9.84 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002989/0.003022, allocations: 1.476 MB / 0.5492 GB, free: 8.363 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.004347, allocations: 0.5778 MB / 0.5498 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.004401, allocations: 0 / 0.5498 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.004437, allocations: 3.938 kB / 0.5498 GB, free: 7.777 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.655e-05/0.004493, allocations: 11.86 kB / 0.5498 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.004844, allocations: 67.73 kB / 0.5499 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.004951, allocations: 27.88 kB / 0.5499 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.005049, allocations: 9.703 kB / 0.5499 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.005211, allocations: 27.91 kB / 0.5499 GB, free: 7.637 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.005265, allocations: 11.98 kB / 0.5499 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.00528, allocations: 0 / 0.5499 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.005417, allocations: 51.91 kB / 0.55 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.005437, allocations: 15.97 kB / 0.55 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.005466, allocations: 7.938 kB / 0.55 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.005649, allocations: 75.83 kB / 0.5501 GB, free: 7.477 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005652, allocations: 4 kB / 0.5501 GB, free: 7.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005653, allocations: 0 / 0.5501 GB, free: 7.473 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.005658, allocations: 0 / 0.5501 GB, free: 7.473 MB / 462.1 MB 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.0005949/0.006253, allocations: 282 kB / 0.5503 GB, free: 7.168 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.006295, allocations: 11.97 kB / 0.5504 GB, free: 7.156 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.006462, allocations: 12.92 kB / 0.5504 GB, free: 7.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.00668, allocations: 125.7 kB / 0.5505 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.006692, allocations: 384 / 0.5505 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.006704, allocations: 4.375 kB / 0.5505 GB, free: 6.992 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.006855, allocations: 42.25 kB / 0.5505 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.006869, allocations: 192 / 0.5505 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.006881, allocations: 384 / 0.5505 GB, free: 6.945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.006896, allocations: 7.922 kB / 0.5505 GB, free: 6.938 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.007026, allocations: 19.98 kB / 0.5506 GB, free: 6.918 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.007347, allocations: 204.5 kB / 0.5508 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.007455, allocations: 34.56 kB / 0.5508 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.007502, allocations: 8.922 kB / 0.5508 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/0.008179, allocations: 95.86 kB / 0.5509 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.008213, allocations: 34.5 kB / 0.5509 GB, free: 6.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.008214, allocations: 0 / 0.5509 GB, free: 6.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003553/0.008569, allocations: 77.56 kB / 0.551 GB, free: 6.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.008619, allocations: 51.41 kB / 0.551 GB, free: 6.352 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.008737, allocations: 113.8 kB / 0.5512 GB, free: 6.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.008759, allocations: 29.7 kB / 0.5512 GB, free: 6.195 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.008812, allocations: 80.14 kB / 0.5513 GB, free: 6.113 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.008834, allocations: 11.95 kB / 0.5513 GB, free: 6.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.008865, allocations: 9.719 kB / 0.5513 GB, free: 6.086 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.009032, allocations: 318.8 kB / 0.5516 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.009081, allocations: 8.125 kB / 0.5516 GB, free: 5.758 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.00912, allocations: 15.98 kB / 0.5516 GB, free: 5.742 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.385e-05/0.009204, allocations: 24.84 kB / 0.5516 GB, free: 5.715 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009206, allocations: 0 / 0.5516 GB, free: 5.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000141/0.009347, allocations: 61.58 kB / 0.5517 GB, free: 5.648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.009365, allocations: 7.938 kB / 0.5517 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.009369, allocations: 0 / 0.5517 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.009383, allocations: 4 kB / 0.5517 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.009453, allocations: 12.08 kB / 0.5517 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.009458, allocations: 0 / 0.5517 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.009491, allocations: 0 / 0.5517 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.009498, allocations: 7.938 kB / 0.5517 GB, free: 5.617 MB / 462.1 MB 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 9.849e-05/0.009597, allocations: 110.4 kB / 0.5518 GB, free: 5.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.009626, allocations: 7.938 kB / 0.5518 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.009806, allocations: 61.3 kB / 0.5519 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.009808, allocations: 3.938 kB / 0.5519 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.009812, allocations: 0 / 0.5519 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.009816, allocations: 8.031 kB / 0.5519 GB, free: 5.414 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.009967, allocations: 109.3 kB / 0.552 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.009968, allocations: 0 / 0.552 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.01001, allocations: 7.984 kB / 0.552 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01002, allocations: 0 / 0.552 GB, free: 5.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.01003, allocations: 3.938 kB / 0.552 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01003, allocations: 0 / 0.552 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01003, allocations: 0 / 0.552 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.01022, allocations: 155.5 kB / 0.5522 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.01023, allocations: 4.031 kB / 0.5522 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01025, allocations: 7.938 kB / 0.5522 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.177e-05/0.01031, allocations: 384 / 0.5522 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.01034, allocations: 4 kB / 0.5522 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.01034, allocations: 0 / 0.5522 GB, free: 5.082 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.01041, allocations: 99.14 kB / 0.5523 GB, free: 4.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01041, allocations: 0 / 0.5523 GB, free: 4.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.01066, allocations: 15.94 kB / 0.5523 GB, free: 4.969 MB / 462.1 MB 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.0001934/0.01086, allocations: 111.2 kB / 0.5524 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.01104, allocations: 23.98 kB / 0.5524 GB, free: 4.828 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01105, allocations: 0 / 0.5524 GB, free: 4.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.0111, allocations: 15.98 kB / 0.5524 GB, free: 4.812 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.01133, allocations: 9.344 kB / 0.5524 GB, free: 4.805 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.01165, allocations: 127.8 kB / 0.5526 GB, free: 4.656 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.411e-05/0.01172, allocations: 63.34 kB / 0.5526 GB, free: 4.574 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.183e-05/0.01175, allocations: 3.938 kB / 0.5526 GB, free: 4.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.01177, allocations: 20.61 kB / 0.5527 GB, free: 4.551 MB / 462.1 MB Notification: Performance of SimCode: time 4.4e-07/0.01177, allocations: 0 / 0.5527 GB, free: 4.551 MB / 462.1 MB Notification: Performance of Templates: time 0.003453/0.01523, allocations: 0.7007 MB / 0.5533 GB, free: 3.855 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.587844107300043] Failed to read output from testmodel.py, exit status != 0: 0.024807576090097427 0.039805280000000005 0.031006768 Calling exit ...