Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001233/0.001233, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001314/0.001314, allocations: 161.4 kB / 23.01 MB, free: 4.602 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.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.918 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002362/0.002362, allocations: 238.2 kB / 260 MB, free: 456 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8957/0.8957, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002946/0.002946, allocations: 99.83 kB / 0.6474 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3808, allocations: 95.35 MB / 0.7405 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001633/0.3825, allocations: 0.602 MB / 0.7411 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3836, allocations: 1.13 MB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.3836, allocations: 0 / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.3836, allocations: 1.438 kB / 0.7422 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3838, allocations: 21.22 kB / 0.7422 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.3838, allocations: 0 / 0.7422 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 3.745e-05/0.3839, allocations: 10.78 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.3839, allocations: 2.531 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.298e-05/0.3839, allocations: 5.078 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.3839, allocations: 1.062 kB / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.992e-06/0.3839, allocations: 0 / 0.7422 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.013e-05/0.384, allocations: 19.39 kB / 0.7422 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.814e-06/0.384, allocations: 0 / 0.7422 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.073e-05/0.384, allocations: 4.938 kB / 0.7423 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 6.79e-05/0.3841, allocations: 12.48 kB / 0.7423 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3841, allocations: 1.125 kB / 0.7423 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3841, allocations: 0 / 0.7423 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.3841, allocations: 4 kB / 0.7423 GB, free: 16.25 MB / 0.5919 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.0001775/0.3843, allocations: 253 kB / 0.7425 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.3843, allocations: 9.281 kB / 0.7425 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.3844, allocations: 2 kB / 0.7425 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.851e-05/0.3844, allocations: 105 kB / 0.7426 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3844, allocations: 1.656 kB / 0.7426 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3844, allocations: 1.719 kB / 0.7426 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/0.3845, allocations: 44.53 kB / 0.7427 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3845, allocations: 0.7031 kB / 0.7427 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.3845, allocations: 1.531 kB / 0.7427 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.3845, allocations: 4 kB / 0.7427 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.3846, allocations: 9.781 kB / 0.7427 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.819e-05/0.3846, allocations: 101.6 kB / 0.7428 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3848, allocations: 32.67 kB / 0.7428 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.3848, allocations: 12.42 kB / 0.7428 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.3849, allocations: 6.328 kB / 0.7428 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.052e-05/0.3849, allocations: 32.09 kB / 0.7429 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.3849, allocations: 0 / 0.7429 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5): time 0.004203/0.3891, allocations: 0.5759 MB / 0.7434 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.3891, allocations: 53.64 kB / 0.7435 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.324e-05/0.3892, allocations: 93.8 kB / 0.7436 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3892, allocations: 33.36 kB / 0.7436 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-06/0.3892, allocations: 80.14 kB / 0.7437 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3892, allocations: 13.02 kB / 0.7437 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.3893, allocations: 22.03 kB / 0.7437 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.3893, allocations: 311.5 kB / 0.744 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.3899, allocations: 87.53 kB / 0.7441 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/0.3905, allocations: 101.3 kB / 0.7442 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.3917, allocations: 192 kB / 0.7444 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3917, allocations: 192 / 0.7444 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001253/0.3929, allocations: 213.5 kB / 0.7446 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3929, allocations: 9.953 kB / 0.7446 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3929, allocations: 5.844 kB / 0.7446 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.393, allocations: 0 / 0.7446 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.3934, allocations: 54.56 kB / 0.7446 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3934, allocations: 1.031 kB / 0.7446 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.3937, allocations: 40.67 kB / 0.7447 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3937, allocations: 3.656 kB / 0.7447 GB, free: 14.72 MB / 0.5919 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 (5): * Single equations (assignments): 5 * 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 4.792e-05/0.3938, allocations: 113.2 kB / 0.7448 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.3938, allocations: 8.578 kB / 0.7448 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3951, allocations: 240.6 kB / 0.745 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3951, allocations: 0 / 0.745 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3951, allocations: 1.375 kB / 0.745 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3951, allocations: 0.5156 kB / 0.745 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3965, allocations: 409.1 kB / 0.7454 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3965, allocations: 0 / 0.7454 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.3969, allocations: 47.83 kB / 0.7455 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3969, allocations: 1.812 kB / 0.7455 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3969, allocations: 2.188 kB / 0.7455 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.3969, allocations: 3.984 kB / 0.7455 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3969, allocations: 0 / 0.7455 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3981, allocations: 311.3 kB / 0.7458 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.3981, allocations: 2.391 kB / 0.7458 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3981, allocations: 3.938 kB / 0.7458 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.3985, allocations: 45.34 kB / 0.7458 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.3985, allocations: 3.703 kB / 0.7458 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3985, allocations: 10.53 kB / 0.7458 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.538e-06/0.3985, allocations: 75.28 kB / 0.7459 GB, free: 14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.3985, allocations: 0 / 0.7459 GB, free: 14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002459/0.3988, allocations: 8.938 kB / 0.7459 GB, free: 14 MB / 0.5919 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 (5): * Single equations (assignments): 5 * 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.0001117/0.3989, allocations: 107.2 kB / 0.746 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.4001, allocations: 182.7 kB / 0.7462 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4001, allocations: 1.125 kB / 0.7462 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005908/0.4007, allocations: 87.8 kB / 0.7463 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.4009, allocations: 6.688 kB / 0.7463 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.402, allocations: 213.8 kB / 0.7465 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.402, allocations: 59.69 kB / 0.7465 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000153/0.4022, allocations: 28.94 kB / 0.7466 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.4022, allocations: 12.44 kB / 0.7466 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.4022, allocations: 0 / 0.7466 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.003023/0.4053, allocations: 0.8093 MB / 0.7474 GB, free: 13.56 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.384769128053449] Failed to read output from testmodel.py, exit status != 0: 0.412417295970954 0.422439736 0.035922434 Calling exit ...