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.005255/0.005255, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7599/0.7599, allocations: 135.2 MB / 151 MB, free: 13.81 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.4/1.4, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009089, allocations: 102.8 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3913, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5433, allocations: 113.1 MB / 0.76 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.5436, allocations: 79.95 kB / 0.7601 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.5594, allocations: 5.123 MB / 0.7651 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5595, allocations: 0 / 0.7651 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.5595, allocations: 4 kB / 0.7651 GB, free: 13.64 MB / 0.5417 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.0005733/0.5601, allocations: 430.8 kB / 0.7655 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5601, allocations: 8.031 kB / 0.7655 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.077e-05/0.5602, allocations: 38.56 kB / 0.7655 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.5609, allocations: 119.7 kB / 0.7657 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.5611, allocations: 181.6 kB / 0.7658 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/0.5612, allocations: 67.39 kB / 0.7659 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.5612, allocations: 8 kB / 0.7659 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.5618, allocations: 194.6 kB / 0.7661 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5618, allocations: 4 kB / 0.7661 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.5618, allocations: 3.984 kB / 0.7661 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5618, allocations: 4 kB / 0.7661 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.5624, allocations: 191.8 kB / 0.7663 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.5635, allocations: 0.4978 MB / 0.7668 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.5646, allocations: 270.3 kB / 0.767 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.5646, allocations: 7.984 kB / 0.767 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5646, allocations: 34.5 kB / 0.7671 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.5647, allocations: 7.938 kB / 0.7671 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.001031/0.5657, allocations: 313.6 kB / 0.7674 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.5658, allocations: 51.41 kB / 0.7674 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.5659, allocations: 129 kB / 0.7675 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.5659, allocations: 25.7 kB / 0.7676 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.566, allocations: 112.1 kB / 0.7677 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.566, allocations: 15.75 kB / 0.7677 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-06/0.5661, allocations: 0 / 0.7677 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5662, allocations: 326.8 kB / 0.768 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.5665, allocations: 91.92 kB / 0.7681 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.5668, allocations: 114.5 kB / 0.7682 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.5671, allocations: 91.88 kB / 0.7683 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5671, allocations: 0 / 0.7683 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006618/0.5678, allocations: 237.8 kB / 0.7685 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5678, allocations: 4 kB / 0.7685 GB, free: 9.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5679, allocations: 4 kB / 0.7685 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5679, allocations: 0 / 0.7685 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.5682, allocations: 55.94 kB / 0.7686 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5682, allocations: 0 / 0.7686 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.5684, allocations: 35.88 kB / 0.7686 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.5684, allocations: 4 kB / 0.7686 GB, free: 9.781 MB / 0.5417 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.0001274/0.5686, allocations: 121.8 kB / 0.7687 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.5686, allocations: 11.91 kB / 0.7687 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007529/0.5694, allocations: 238.2 kB / 0.769 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5694, allocations: 0 / 0.769 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5694, allocations: 4 kB / 0.769 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5694, allocations: 0 / 0.769 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.5697, allocations: 242.1 kB / 0.7692 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5697, allocations: 7.984 kB / 0.7692 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.57, allocations: 35.95 kB / 0.7692 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.57, allocations: 4 kB / 0.7692 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.57, allocations: 0 / 0.7692 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.57, allocations: 4 kB / 0.7692 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5701, allocations: 3.938 kB / 0.7693 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007039/0.5708, allocations: 323.2 kB / 0.7696 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.5708, allocations: 88.95 kB / 0.7696 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.5709, allocations: 8 kB / 0.7697 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.5712, allocations: 39.95 kB / 0.7697 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.5712, allocations: 3.984 kB / 0.7697 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.5713, allocations: 11.98 kB / 0.7697 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.198e-05/0.5713, allocations: 104.8 kB / 0.7698 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5713, allocations: 0 / 0.7698 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002601/0.5716, allocations: 27.91 kB / 0.7698 GB, free: 8.422 MB / 0.5417 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.001061/0.5727, allocations: 0.8607 MB / 0.7707 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006567/0.5733, allocations: 195.8 kB / 0.7709 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5734, allocations: 0 / 0.7709 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.5737, allocations: 104 kB / 0.771 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5739, allocations: 8 kB / 0.771 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.575, allocations: 0.8033 MB / 0.7717 GB, free: 6.371 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.5753, allocations: 0.7043 MB / 0.7724 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.5754, allocations: 16.17 kB / 0.7725 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.692e-05/0.5755, allocations: 31.42 kB / 0.7725 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of SimCode: time 5.31e-07/0.5755, allocations: 3.938 kB / 0.7725 GB, free: 5.586 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.5891, allocations: 2.377 MB / 0.7748 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/0.5893, allocations: 166.3 kB / 0.775 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.116, allocations: 0 / 0.775 GB, free: 3.09 MB / 0.5417 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)