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.001024/0.001024, allocations: 176.2 kB / 7.649 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.9416/0.9416, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.507/1.507, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.000853/0.0008532, allocations: 103.8 kB / 478.2 MB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.856e-05, allocations: 8 kB / 0.5535 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4735, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.6164, allocations: 112.4 MB / 0.7437 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.6167, allocations: 67.97 kB / 0.7438 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01571/0.6325, allocations: 5.089 MB / 0.7487 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6325, allocations: 0 / 0.7487 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.6325, allocations: 4 kB / 0.7487 GB, free: 5.059 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.0005079/0.633, allocations: 410.1 kB / 0.7491 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6331, allocations: 12.03 kB / 0.7491 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.6338, allocations: 115.8 kB / 0.7492 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.634, allocations: 184.7 kB / 0.7494 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.6341, allocations: 71.33 kB / 0.7495 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.6341, allocations: 4 kB / 0.7495 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001856/0.6343, allocations: 68 kB / 0.7496 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.6345, allocations: 117.5 kB / 0.7497 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6345, allocations: 0 / 0.7497 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.6346, allocations: 0 / 0.7497 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6346, allocations: 0 / 0.7497 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.6357, allocations: 487.4 kB / 0.7501 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.6363, allocations: 158.5 kB / 0.7503 GB, free: 3.316 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.991e-05/0.6364, allocations: 36.98 kB / 0.7503 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.6364, allocations: 4 kB / 0.7503 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.6365, allocations: 34.56 kB / 0.7504 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.6365, allocations: 0 / 0.7504 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002835/0.6368, allocations: 109.7 kB / 0.7505 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.6368, allocations: 51.41 kB / 0.7505 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.6369, allocations: 122.6 kB / 0.7506 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.637, allocations: 25.7 kB / 0.7506 GB, free: 2.898 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.637, allocations: 108.2 kB / 0.7507 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.6371, allocations: 23.64 kB / 0.7508 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.6371, allocations: 0 / 0.7508 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6372, allocations: 330.8 kB / 0.7511 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.6373, allocations: 28 kB / 0.7511 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.6374, allocations: 50.58 kB / 0.7512 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.6375, allocations: 27.98 kB / 0.7512 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6375, allocations: 4 kB / 0.7512 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001819/0.6377, allocations: 113.6 kB / 0.7513 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6377, allocations: 8 kB / 0.7513 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6377, allocations: 4.281 kB / 0.7513 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.6377, allocations: 3.984 kB / 0.7513 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.638, allocations: 47.95 kB / 0.7514 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.638, allocations: 3.984 kB / 0.7514 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.6382, allocations: 31.97 kB / 0.7514 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.6382, allocations: 7.938 kB / 0.7514 GB, free: 2.09 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 9.193e-05/0.6383, allocations: 112.9 kB / 0.7515 GB, free: 1.973 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001791/0.6385, allocations: 97.59 kB / 0.7516 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.6386, allocations: 11.91 kB / 0.7516 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.6388, allocations: 126.2 kB / 0.7517 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6388, allocations: 0 / 0.7517 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6388, allocations: 0 / 0.7517 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.6388, allocations: 0 / 0.7517 GB, free: 1.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.6391, allocations: 222.5 kB / 0.7519 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6391, allocations: 0 / 0.7519 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.6394, allocations: 51.89 kB / 0.752 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.6394, allocations: 0 / 0.752 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6394, allocations: 7.984 kB / 0.752 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6394, allocations: 0 / 0.752 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6394, allocations: 3.984 kB / 0.752 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.6396, allocations: 199.4 kB / 0.7522 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.6397, allocations: 85.02 kB / 0.7523 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.6397, allocations: 0 / 0.7523 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.64, allocations: 44.14 kB / 0.7523 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.6401, allocations: 11.92 kB / 0.7523 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.6401, allocations: 11.98 kB / 0.7523 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.6402, allocations: 97.17 kB / 0.7524 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6402, allocations: 4 kB / 0.7524 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002496/0.6405, allocations: 20 kB / 0.7525 GB, free: 0.918 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.0005392/0.641, allocations: 0.728 MB / 0.7532 GB, free: 168 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.6412, allocations: 79.92 kB / 0.7532 GB, free: 88 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6412, allocations: 4.125 kB / 0.7533 GB, free: 84 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.6413, allocations: 43.98 kB / 0.7533 GB, free: 40 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.6415, allocations: 4 kB / 0.7533 GB, free: 36 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.642, allocations: 174.1 kB / 0.7535 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.6423, allocations: 0.7041 MB / 0.7542 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.6424, allocations: 16.19 kB / 0.7542 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.6425, allocations: 35.36 kB / 0.7542 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6425, allocations: 0 / 0.7542 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.6629, allocations: 2.062 MB / 0.7562 GB, free: 13 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.6632, allocations: 122.4 kB / 0.7563 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/2.086, allocations: 2.875 kB / 0.7563 GB, free: 12.81 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)