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.00106/0.00106, allocations: 174.3 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8255/0.8255, allocations: 133.6 MB / 141.6 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008557/0.0008557, allocations: 104.5 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.728e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4904, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.6333, allocations: 112.4 MB / 0.7437 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.6336, allocations: 75.95 kB / 0.7438 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.6486, allocations: 5.077 MB / 0.7487 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6486, allocations: 0 / 0.7487 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6486, allocations: 4 kB / 0.7487 GB, free: 5.109 MB / 0.5261 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.0004936/0.6491, allocations: 414.1 kB / 0.7491 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6492, allocations: 12.03 kB / 0.7491 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.6499, allocations: 107.8 kB / 0.7492 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.6501, allocations: 192.4 kB / 0.7494 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.752e-05/0.6502, allocations: 59.41 kB / 0.7495 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.6502, allocations: 12 kB / 0.7495 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001597/0.6504, allocations: 75.98 kB / 0.7496 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.6506, allocations: 103.5 kB / 0.7497 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6506, allocations: 7.922 kB / 0.7497 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.6506, allocations: 0 / 0.7497 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6506, allocations: 4 kB / 0.7497 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.6517, allocations: 479.5 kB / 0.7501 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005899/0.6523, allocations: 162.5 kB / 0.7503 GB, free: 3.367 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.6523, allocations: 36.98 kB / 0.7503 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.6524, allocations: 7.969 kB / 0.7503 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.6524, allocations: 38.56 kB / 0.7504 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.6524, allocations: 0 / 0.7504 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002578/0.6527, allocations: 101.7 kB / 0.7505 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.6527, allocations: 59.34 kB / 0.7505 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.991e-05/0.6528, allocations: 122.5 kB / 0.7506 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.6529, allocations: 29.7 kB / 0.7507 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.6529, allocations: 108.2 kB / 0.7508 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.653, allocations: 19.66 kB / 0.7508 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.653, allocations: 0 / 0.7508 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6531, allocations: 322.8 kB / 0.7511 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.6532, allocations: 40 kB / 0.7511 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.6532, allocations: 46.56 kB / 0.7512 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.6533, allocations: 31.98 kB / 0.7512 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6533, allocations: 0 / 0.7512 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002021/0.6535, allocations: 117.5 kB / 0.7513 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6535, allocations: 4 kB / 0.7513 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6536, allocations: 4.062 kB / 0.7513 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6536, allocations: 4 kB / 0.7513 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.6539, allocations: 39.95 kB / 0.7514 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.6539, allocations: 4.141 kB / 0.7514 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.6541, allocations: 36.09 kB / 0.7514 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.6541, allocations: 7.984 kB / 0.7514 GB, free: 2.137 MB / 0.5261 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 8.836e-05/0.6542, allocations: 120.8 kB / 0.7515 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001724/0.6544, allocations: 101.6 kB / 0.7516 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.6544, allocations: 7.906 kB / 0.7516 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.6546, allocations: 114.3 kB / 0.7517 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6547, allocations: 4 kB / 0.7517 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.6547, allocations: 0 / 0.7517 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6547, allocations: 3.938 kB / 0.7517 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.6549, allocations: 226.5 kB / 0.752 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6549, allocations: 0 / 0.752 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.6552, allocations: 39.95 kB / 0.752 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6552, allocations: 4 kB / 0.752 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6552, allocations: 0 / 0.752 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6552, allocations: 0 / 0.752 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6552, allocations: 4 kB / 0.752 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.6554, allocations: 199.4 kB / 0.7522 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.6555, allocations: 85.02 kB / 0.7523 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.6555, allocations: 3.984 kB / 0.7523 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.6558, allocations: 43.95 kB / 0.7523 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.6559, allocations: 0 / 0.7523 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.6559, allocations: 7.984 kB / 0.7523 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.656, allocations: 105.5 kB / 0.7524 GB, free: 1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.533e-06/0.656, allocations: 0 / 0.7524 GB, free: 1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002659/0.6562, allocations: 27.94 kB / 0.7525 GB, free: 0.9727 MB / 0.5261 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.0005275/0.6568, allocations: 0.732 MB / 0.7532 GB, free: 220 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.657, allocations: 83.92 kB / 0.7533 GB, free: 136 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.657, allocations: 0 / 0.7533 GB, free: 136 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.657, allocations: 39.98 kB / 0.7533 GB, free: 96 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.6573, allocations: 8.125 kB / 0.7533 GB, free: 88 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.6578, allocations: 174.1 kB / 0.7535 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.6581, allocations: 0.7041 MB / 0.7541 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.6582, allocations: 20.17 kB / 0.7542 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.6583, allocations: 35.41 kB / 0.7542 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.6583, allocations: 0 / 0.7542 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.6782, allocations: 2.065 MB / 0.7562 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.6784, allocations: 118.5 kB / 0.7563 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.128, allocations: 0 / 0.7563 GB, free: 12.85 MB / 0.5417 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)