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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 100 kB / 15.05 MB, free: 1.105 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.002444/0.002444, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.07/2.07, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.078/1.078, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005536/0.000554, allocations: 8 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.8511, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003366/0.8546, allocations: 1.445 MB / 0.5844 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.8561, allocations: 0.5909 MB / 0.5849 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.8562, allocations: 2.656 kB / 0.585 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.8563, allocations: 9.984 kB / 0.585 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.521e-05/0.8564, allocations: 11.73 kB / 0.585 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.8573, allocations: 156.5 kB / 0.5851 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.8575, allocations: 73.05 kB / 0.5852 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.8578, allocations: 37.17 kB / 0.5852 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.858, allocations: 50.69 kB / 0.5853 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.8581, allocations: 30.7 kB / 0.5853 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.8582, allocations: 5 kB / 0.5853 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.8584, allocations: 43.16 kB / 0.5854 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.8584, allocations: 19.89 kB / 0.5854 GB, free: 2.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.8585, allocations: 39.89 kB / 0.5854 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.8588, allocations: 97.69 kB / 0.5855 GB, free: 2.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8588, allocations: 1.125 kB / 0.5855 GB, free: 2.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.8589, allocations: 0.7031 kB / 0.5855 GB, free: 2.281 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.8589, allocations: 4 kB / 0.5855 GB, free: 2.277 MB / 430.1 MB 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.0008664/0.8597, allocations: 416.8 kB / 0.5859 GB, free: 1.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.48e-05/0.8598, allocations: 10.11 kB / 0.5859 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.8599, allocations: 38.8 kB / 0.586 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.8613, allocations: 148.4 kB / 0.5861 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.8615, allocations: 184.2 kB / 0.5863 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.8617, allocations: 61.19 kB / 0.5863 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.8617, allocations: 9.812 kB / 0.5863 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009061/0.8626, allocations: 186.4 kB / 0.5865 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8627, allocations: 0.6094 kB / 0.5865 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.8627, allocations: 9.25 kB / 0.5865 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.8627, allocations: 6.469 kB / 0.5865 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.8638, allocations: 197.7 kB / 0.5867 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.8658, allocations: 0.5055 MB / 0.5872 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.8677, allocations: 264.6 kB / 0.5875 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.8677, allocations: 1.781 kB / 0.5875 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.8678, allocations: 41.59 kB / 0.5875 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 3.226e-06/0.8678, allocations: 0 / 0.5875 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001948/0.8698, allocations: 313 kB / 0.5878 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.8698, allocations: 52.44 kB / 0.5879 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.8701, allocations: 140.5 kB / 0.588 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.8701, allocations: 31.7 kB / 0.588 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.8702, allocations: 114 kB / 0.5881 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.8703, allocations: 14.55 kB / 0.5881 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.8703, allocations: 1.375 kB / 0.5881 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8704, allocations: 319.1 kB / 0.5884 GB, free: 224 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.8711, allocations: 90.09 kB / 0.5885 GB, free: 208 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.8717, allocations: 112 kB / 0.5886 GB, free: 164 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.8723, allocations: 94.55 kB / 0.5887 GB, free: 140 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8723, allocations: 1.344 kB / 0.5887 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00129/0.8736, allocations: 245.2 kB / 0.589 GB, free: 52 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.8736, allocations: 4.75 kB / 0.589 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.8737, allocations: 1.219 kB / 0.589 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/0.8737, allocations: 1.688 kB / 0.589 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.8741, allocations: 47.55 kB / 0.589 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.8742, allocations: 4.141 kB / 0.589 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.8745, allocations: 42.03 kB / 0.5891 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.8745, allocations: 8.156 kB / 0.5891 GB, free: 28 kB / 430.1 MB 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.0002363/0.8748, allocations: 118.8 kB / 0.5892 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.8749, allocations: 8.156 kB / 0.5892 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.8762, allocations: 243.9 kB / 0.5894 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.8762, allocations: 0.9375 kB / 0.5894 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.8762, allocations: 3.984 kB / 0.5894 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.8763, allocations: 5.172 kB / 0.5894 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.8768, allocations: 233 kB / 0.5897 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.8768, allocations: 0.5312 kB / 0.5897 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.8772, allocations: 44 kB / 0.5897 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.8773, allocations: 0 / 0.5897 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.8773, allocations: 6.531 kB / 0.5897 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.8773, allocations: 1.828 kB / 0.5897 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8773, allocations: 4 kB / 0.5897 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.8786, allocations: 320.6 kB / 0.59 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.8788, allocations: 88.09 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.8788, allocations: 5.656 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.8793, allocations: 44.81 kB / 0.5901 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.8794, allocations: 4.984 kB / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.8794, allocations: 7.734 kB / 0.5902 GB, free: 15.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.8796, allocations: 108.6 kB / 0.5903 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.8796, allocations: 0 / 0.5903 GB, free: 15.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000449/0.88, allocations: 31.36 kB / 0.5903 GB, free: 15.2 MB / 446.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 (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.001652/0.8817, allocations: 0.8484 MB / 0.5911 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.8829, allocations: 203 kB / 0.5913 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8829, allocations: 0.6562 kB / 0.5913 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.8834, allocations: 104.9 kB / 0.5914 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.8838, allocations: 6.281 kB / 0.5914 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.8855, allocations: 0.8057 MB / 0.5922 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.8861, allocations: 0.7046 MB / 0.5929 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.8863, allocations: 14.06 kB / 0.5929 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.8864, allocations: 28.38 kB / 0.5929 GB, free: 12.98 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.8864, allocations: 0 / 0.5929 GB, free: 12.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.9087, allocations: 2.371 MB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/0.9091, allocations: 172.2 kB / 0.5954 GB, free: 12.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.623, allocations: 4 kB / 0.5954 GB, free: 12.39 MB / 446.1 MB (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) Environment - environmentSimulation: