Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009399/0.0009399, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009759/0.0009759, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000593/0.0005932, allocations: 14.78 kB / 0.6737 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2838, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002644/0.2865, allocations: 1.451 MB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2881, allocations: 0.649 MB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.2883, allocations: 4 kB / 0.7893 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.063e-05/0.2884, allocations: 7.922 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2885, allocations: 11.86 kB / 0.7894 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.2893, allocations: 158.7 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.2896, allocations: 107.7 kB / 0.7896 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2897, allocations: 37.28 kB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.2899, allocations: 43.83 kB / 0.7897 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.29, allocations: 39.78 kB / 0.7897 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.29, allocations: 4 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2901, allocations: 39.97 kB / 0.7898 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.2902, allocations: 23.89 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.2902, allocations: 45.58 kB / 0.7898 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.2904, allocations: 96.05 kB / 0.7899 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2904, allocations: 0 / 0.7899 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2904, allocations: 0 / 0.7899 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2904, allocations: 0 / 0.7899 GB, free: 9.246 MB / 0.6075 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.0006009/0.2911, allocations: 411 kB / 0.7903 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2911, allocations: 8.031 kB / 0.7903 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/0.2919, allocations: 147.6 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.2921, allocations: 190.8 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.2922, allocations: 63.41 kB / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.2923, allocations: 4 kB / 0.7907 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.2928, allocations: 197.4 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2928, allocations: 7.938 kB / 0.7909 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.2929, allocations: 0 / 0.7909 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2929, allocations: 0 / 0.7909 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.2935, allocations: 195.8 kB / 0.7911 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.2945, allocations: 0.4939 MB / 0.7916 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009027/0.2955, allocations: 278.3 kB / 0.7918 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.2957, allocations: 100.9 kB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.2958, allocations: 7.984 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2958, allocations: 30.56 kB / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.2958, allocations: 0 / 0.792 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001004/0.2968, allocations: 313.5 kB / 0.7923 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2969, allocations: 51.41 kB / 0.7923 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.297, allocations: 144.1 kB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2971, allocations: 33.7 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.2971, allocations: 112 kB / 0.7926 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.2972, allocations: 19.75 kB / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.2972, allocations: 0 / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2973, allocations: 322.8 kB / 0.7929 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2976, allocations: 91.92 kB / 0.793 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.2979, allocations: 114.5 kB / 0.7931 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.2982, allocations: 91.92 kB / 0.7932 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2982, allocations: 0 / 0.7932 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006498/0.2988, allocations: 241.7 kB / 0.7934 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2989, allocations: 4 kB / 0.7934 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2989, allocations: 0 / 0.7934 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2989, allocations: 4 kB / 0.7934 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.2992, allocations: 39.95 kB / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.2992, allocations: 4 kB / 0.7935 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.2994, allocations: 43.81 kB / 0.7935 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2994, allocations: 7.938 kB / 0.7935 GB, free: 5.301 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.2995, allocations: 117.8 kB / 0.7937 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.2996, allocations: 7.906 kB / 0.7937 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/0.3002, allocations: 238.2 kB / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3002, allocations: 0 / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3003, allocations: 0 / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3003, allocations: 7.984 kB / 0.7939 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.3005, allocations: 238.3 kB / 0.7941 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3006, allocations: 0 / 0.7941 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.3008, allocations: 43.89 kB / 0.7942 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3008, allocations: 0 / 0.7942 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3008, allocations: 4 kB / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3008, allocations: 0 / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3008, allocations: 7.938 kB / 0.7942 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/0.3015, allocations: 315.2 kB / 0.7945 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.3016, allocations: 85.02 kB / 0.7946 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3016, allocations: 11.98 kB / 0.7946 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.3019, allocations: 43.89 kB / 0.7946 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.3019, allocations: 4 kB / 0.7946 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3019, allocations: 8.172 kB / 0.7946 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.476e-05/0.302, allocations: 109.2 kB / 0.7947 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.31e-07/0.302, allocations: 0 / 0.7947 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002865/0.3023, allocations: 31.86 kB / 0.7948 GB, free: 3.953 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001529/0.3025, allocations: 103.2 kB / 0.7949 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000632/0.3031, allocations: 203.8 kB / 0.795 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3031, allocations: 0 / 0.795 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.3034, allocations: 99.98 kB / 0.7951 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3037, allocations: 8 kB / 0.7951 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.3044, allocations: 297.4 kB / 0.7954 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3047, allocations: 0.7004 MB / 0.7961 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000104/0.3048, allocations: 15.94 kB / 0.7961 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.3048, allocations: 19.42 kB / 0.7962 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3048, allocations: 0 / 0.7962 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of Templates: time 0.003839/0.3087, allocations: 1.309 MB / 0.7974 GB, free: 1.152 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: