Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_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.001293/0.001293, allocations: 174.7 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.8575/0.8575, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.819/1.819, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.0009667/0.0009668, allocations: 98.22 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.692e-05, allocations: 4.75 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 82.31 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7239/0.8726, allocations: 113.1 MB / 0.7509 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.8728, allocations: 76.81 kB / 0.751 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.8863, allocations: 5.108 MB / 0.756 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8863, allocations: 0 / 0.756 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.8864, allocations: 3.875 kB / 0.756 GB, free: 27.38 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.0004663/0.8868, allocations: 409.5 kB / 0.7564 GB, free: 27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.8869, allocations: 14.47 kB / 0.7564 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.8869, allocations: 37.5 kB / 0.7564 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/0.8876, allocations: 111.3 kB / 0.7565 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.8877, allocations: 194.3 kB / 0.7567 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.605e-05/0.8878, allocations: 69.53 kB / 0.7568 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.8879, allocations: 11 kB / 0.7568 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.8881, allocations: 121.1 kB / 0.7569 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.8881, allocations: 0 / 0.7569 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.8882, allocations: 10.41 kB / 0.7569 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8882, allocations: 0 / 0.7569 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.8883, allocations: 79.11 kB / 0.757 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009908/0.8893, allocations: 0.5003 MB / 0.7575 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.8899, allocations: 167.4 kB / 0.7576 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.47e-05/0.89, allocations: 37.77 kB / 0.7577 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.89, allocations: 7.672 kB / 0.7577 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.89, allocations: 38.44 kB / 0.7577 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.89, allocations: 0 / 0.7577 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002657/0.8903, allocations: 105.5 kB / 0.7578 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8903, allocations: 51.41 kB / 0.7579 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.8904, allocations: 124.9 kB / 0.758 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.8905, allocations: 29.64 kB / 0.758 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.8906, allocations: 114.7 kB / 0.7581 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.8906, allocations: 19.59 kB / 0.7581 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.8906, allocations: 4 kB / 0.7581 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8907, allocations: 325.6 kB / 0.7584 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.8908, allocations: 29.47 kB / 0.7585 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.8909, allocations: 59.36 kB / 0.7585 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.8909, allocations: 25.78 kB / 0.7586 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8909, allocations: 3.906 kB / 0.7586 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001792/0.8911, allocations: 124.2 kB / 0.7587 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8912, allocations: 7.719 kB / 0.7587 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.8912, allocations: 0 / 0.7587 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.8912, allocations: 0 / 0.7587 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.8914, allocations: 42.83 kB / 0.7587 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.8915, allocations: 0 / 0.7587 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.8916, allocations: 42.78 kB / 0.7588 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.8917, allocations: 11.88 kB / 0.7588 GB, free: 25.28 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 7.475e-05/0.8917, allocations: 104.7 kB / 0.7589 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.8918, allocations: 7.875 kB / 0.7589 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.892, allocations: 124.8 kB / 0.759 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.892, allocations: 0 / 0.759 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.892, allocations: 0 / 0.759 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8921, allocations: 0 / 0.759 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.8923, allocations: 254.8 kB / 0.7593 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8923, allocations: 192 / 0.7593 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.8925, allocations: 50.17 kB / 0.7593 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8925, allocations: 3.938 kB / 0.7593 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.8925, allocations: 2.688 kB / 0.7593 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.8925, allocations: 3.719 kB / 0.7593 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8925, allocations: 3.984 kB / 0.7593 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.8927, allocations: 202.1 kB / 0.7595 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.8928, allocations: 84.89 kB / 0.7596 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.8928, allocations: 4 kB / 0.7596 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.8931, allocations: 39.05 kB / 0.7596 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.8932, allocations: 10.36 kB / 0.7596 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.8932, allocations: 7.859 kB / 0.7596 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.843e-05/0.8933, allocations: 103.8 kB / 0.7597 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8933, allocations: 0 / 0.7597 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002241/0.8935, allocations: 26.64 kB / 0.7598 GB, free: 24.5 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.000504/0.894, allocations: 0.7377 MB / 0.7605 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.8942, allocations: 82.42 kB / 0.7606 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.8942, allocations: 4.125 kB / 0.7606 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.8943, allocations: 36.97 kB / 0.7606 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.8945, allocations: 11.83 kB / 0.7606 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.8949, allocations: 180.4 kB / 0.7608 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.8952, allocations: 0.6995 MB / 0.7615 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.572e-05/0.8953, allocations: 23.62 kB / 0.7615 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.8954, allocations: 36.77 kB / 0.7615 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/0.8954, allocations: 0 / 0.7615 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.9083, allocations: 2.393 MB / 0.7639 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/0.9084, allocations: 140.4 kB / 0.764 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.441, allocations: 0 / 0.764 GB, free: 21.55 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)