Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.006525/0.006525, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7248/0.7248, allocations: 135.2 MB / 151 MB, free: 13.82 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.562/1.562, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.0009114/0.0009114, allocations: 100.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003682, allocations: 8 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4372, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.5872, allocations: 111.7 MB / 0.7586 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/0.5877, allocations: 79.95 kB / 0.7587 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003587/0.5913, allocations: 1.119 MB / 0.7598 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5913, allocations: 4 kB / 0.7598 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5913, allocations: 0 / 0.7598 GB, free: 3.074 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004793/0.5918, allocations: 347.2 kB / 0.7601 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5919, allocations: 12.03 kB / 0.7602 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.5919, allocations: 34.56 kB / 0.7602 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.5919, allocations: 0 / 0.7602 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5921, allocations: 167 kB / 0.7603 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5921, allocations: 4 kB / 0.7604 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.5921, allocations: 0 / 0.7604 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.5923, allocations: 53.67 kB / 0.7604 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.5923, allocations: 3.938 kB / 0.7604 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.5923, allocations: 0 / 0.7604 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5923, allocations: 0 / 0.7604 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.5925, allocations: 51.95 kB / 0.7605 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.593, allocations: 284.7 kB / 0.7607 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.5931, allocations: 42.56 kB / 0.7608 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.5932, allocations: 89.09 kB / 0.7609 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.5933, allocations: 34.5 kB / 0.7609 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5933, allocations: 0 / 0.7609 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003545/0.5936, allocations: 97.66 kB / 0.761 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.5937, allocations: 55.39 kB / 0.761 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.204e-05/0.5938, allocations: 89 kB / 0.7611 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.5938, allocations: 29.83 kB / 0.7611 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.5938, allocations: 88.14 kB / 0.7612 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.5939, allocations: 3.906 kB / 0.7612 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.5939, allocations: 0 / 0.7612 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.594, allocations: 322.8 kB / 0.7615 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.5941, allocations: 19.98 kB / 0.7616 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.5942, allocations: 23.98 kB / 0.7616 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.5943, allocations: 23.92 kB / 0.7616 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5943, allocations: 0 / 0.7616 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/0.5945, allocations: 77.72 kB / 0.7617 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5945, allocations: 5.406 kB / 0.7617 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5945, allocations: 0 / 0.7617 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5945, allocations: 4 kB / 0.7617 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.5946, allocations: 12.23 kB / 0.7617 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.5946, allocations: 0 / 0.7617 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.5947, allocations: 20.02 kB / 0.7617 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-06/0.5947, allocations: 4 kB / 0.7617 GB, free: 0.8789 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.737e-05/0.5948, allocations: 109.8 kB / 0.7618 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.5948, allocations: 3.906 kB / 0.7618 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.5951, allocations: 88.72 kB / 0.7619 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5951, allocations: 4 kB / 0.7619 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5951, allocations: 0 / 0.7619 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5951, allocations: 0 / 0.7619 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.5953, allocations: 161.6 kB / 0.7621 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5953, allocations: 0 / 0.7621 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.5953, allocations: 11.98 kB / 0.7621 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5953, allocations: 0 / 0.7621 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5954, allocations: 11.97 kB / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5954, allocations: 0 / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5954, allocations: 0 / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.5956, allocations: 179.4 kB / 0.7623 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.5957, allocations: 77.11 kB / 0.7623 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.5957, allocations: 4 kB / 0.7623 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.5958, allocations: 7.984 kB / 0.7624 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.5958, allocations: 0 / 0.7624 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5958, allocations: 4 kB / 0.7624 GB, free: 132 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.5959, allocations: 87.22 kB / 0.7624 GB, free: 44 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5959, allocations: 0 / 0.7624 GB, free: 44 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002076/0.5961, allocations: 11.98 kB / 0.7625 GB, free: 32 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005976/0.5967, allocations: 0.7163 MB / 0.7632 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.5969, allocations: 47.91 kB / 0.7632 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5969, allocations: 0 / 0.7632 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.597, allocations: 32.03 kB / 0.7632 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.5973, allocations: 4 kB / 0.7632 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.5977, allocations: 134.4 kB / 0.7634 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.598, allocations: 0.6809 MB / 0.764 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.598, allocations: 4.062 kB / 0.764 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.598, allocations: 7.438 kB / 0.764 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.598, allocations: 4 kB / 0.764 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.6103, allocations: 1.136 MB / 0.7651 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.6105, allocations: 169 kB / 0.7653 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.148, allocations: 3.938 kB / 0.7653 GB, free: 13.04 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)