Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7938/0.7938, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009199, allocations: 103.8 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.079e-05, allocations: 7.891 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1848, allocations: 82.3 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.584/0.7688, allocations: 113.1 MB / 0.7509 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.7691, allocations: 78.39 kB / 0.751 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.7834, allocations: 5.11 MB / 0.756 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7834, allocations: 0 / 0.756 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.7834, allocations: 3.844 kB / 0.756 GB, free: 27.21 MB / 0.5105 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.0005543/0.784, allocations: 414.6 kB / 0.7564 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.784, allocations: 7.688 kB / 0.7564 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.7841, allocations: 44.88 kB / 0.7564 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006904/0.7848, allocations: 115 kB / 0.7565 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.785, allocations: 181.8 kB / 0.7567 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.7851, allocations: 74.88 kB / 0.7568 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.7851, allocations: 11.19 kB / 0.7568 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.7854, allocations: 118.2 kB / 0.7569 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7854, allocations: 0 / 0.7569 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.7854, allocations: 0 / 0.7569 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.7854, allocations: 7.781 kB / 0.7569 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.7856, allocations: 75.58 kB / 0.757 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.7867, allocations: 0.506 MB / 0.7575 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.7873, allocations: 169.5 kB / 0.7576 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.7874, allocations: 41.58 kB / 0.7577 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.7874, allocations: 0 / 0.7577 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.7874, allocations: 34.28 kB / 0.7577 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.7875, allocations: 4 kB / 0.7577 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002494/0.7877, allocations: 107.9 kB / 0.7578 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.7878, allocations: 51.41 kB / 0.7579 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.7879, allocations: 128.2 kB / 0.758 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.7879, allocations: 25.7 kB / 0.758 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.788, allocations: 105.5 kB / 0.7581 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.788, allocations: 27.33 kB / 0.7581 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-06/0.788, allocations: 0 / 0.7581 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7881, allocations: 326.5 kB / 0.7585 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.7882, allocations: 29.5 kB / 0.7585 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.7883, allocations: 59.09 kB / 0.7585 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.21e-05/0.7884, allocations: 33.11 kB / 0.7586 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7884, allocations: 0 / 0.7586 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001887/0.7886, allocations: 118.6 kB / 0.7587 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7886, allocations: 7.875 kB / 0.7587 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7886, allocations: 3.984 kB / 0.7587 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7886, allocations: 3.875 kB / 0.7587 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.7889, allocations: 42.67 kB / 0.7587 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.7889, allocations: 0 / 0.7587 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.7891, allocations: 41.34 kB / 0.7588 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.7891, allocations: 3.953 kB / 0.7588 GB, free: 25.17 MB / 0.5105 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 () * 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 9.753e-05/0.7892, allocations: 116.2 kB / 0.7589 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.7893, allocations: 7.719 kB / 0.7589 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.7895, allocations: 119.9 kB / 0.759 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7895, allocations: 0 / 0.759 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7895, allocations: 192 / 0.759 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7895, allocations: 7.625 kB / 0.759 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.7898, allocations: 253.2 kB / 0.7593 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7898, allocations: 0 / 0.7593 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.79, allocations: 39.05 kB / 0.7593 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.79, allocations: 4 kB / 0.7593 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.79, allocations: 7.875 kB / 0.7593 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.79, allocations: 0 / 0.7593 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7901, allocations: 0 / 0.7593 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.7903, allocations: 205.2 kB / 0.7595 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.7903, allocations: 88.8 kB / 0.7596 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.7904, allocations: 3.375 kB / 0.7596 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.7907, allocations: 42.48 kB / 0.7596 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.7907, allocations: 7.891 kB / 0.7596 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.7907, allocations: 3.656 kB / 0.7596 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.434e-05/0.7908, allocations: 109.5 kB / 0.7597 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7908, allocations: 0 / 0.7597 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002404/0.7911, allocations: 26.7 kB / 0.7598 GB, free: 24.38 MB / 0.5105 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 () * 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.0004933/0.7916, allocations: 0.7357 MB / 0.7605 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.7918, allocations: 85.64 kB / 0.7606 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7918, allocations: 0 / 0.7606 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.7918, allocations: 37.62 kB / 0.7606 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.792, allocations: 8.641 kB / 0.7606 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.7925, allocations: 188.7 kB / 0.7608 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.7928, allocations: 0.7036 MB / 0.7615 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.7929, allocations: 19.69 kB / 0.7615 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.793, allocations: 29.64 kB / 0.7615 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.793, allocations: 3.938 kB / 0.7615 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.8062, allocations: 2.392 MB / 0.7639 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.8065, allocations: 133.9 kB / 0.764 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.308, allocations: 0 / 0.764 GB, free: 21.43 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)