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.001929/0.001929, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.764/0.764, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.504/1.504, allocations: 221.3 MB / 400.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 97.89 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.226e-05, allocations: 3.5 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1707, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6396/0.8104, allocations: 111.7 MB / 0.7495 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.8108, allocations: 74.42 kB / 0.7496 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003706/0.8145, allocations: 1.107 MB / 0.7507 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8145, allocations: 0 / 0.7507 GB, free: 27.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.8145, allocations: 0 / 0.7507 GB, free: 27.65 MB / 0.5105 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.0004042/0.8149, allocations: 349.8 kB / 0.751 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.815, allocations: 15.47 kB / 0.751 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.815, allocations: 36.61 kB / 0.7511 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.8151, allocations: 5.766 kB / 0.7511 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.8152, allocations: 166.9 kB / 0.7512 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.8152, allocations: 0 / 0.7512 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.8152, allocations: 3.625 kB / 0.7513 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.522e-05/0.8153, allocations: 40.41 kB / 0.7513 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.8153, allocations: 0 / 0.7513 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.8154, allocations: 0 / 0.7513 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8154, allocations: 4 kB / 0.7513 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.8154, allocations: 14.3 kB / 0.7513 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.8158, allocations: 263.4 kB / 0.7516 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/0.8159, allocations: 29.06 kB / 0.7516 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.8159, allocations: 16.45 kB / 0.7516 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.8161, allocations: 80.92 kB / 0.7517 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.8161, allocations: 30.56 kB / 0.7517 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.993e-06/0.8161, allocations: 3.984 kB / 0.7517 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/0.8163, allocations: 44.05 kB / 0.7518 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.8163, allocations: 55.22 kB / 0.7518 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.8164, allocations: 96.44 kB / 0.7519 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.8164, allocations: 25.7 kB / 0.7519 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.8165, allocations: 98.47 kB / 0.752 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.8165, allocations: 3.938 kB / 0.752 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.8165, allocations: 0 / 0.752 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8166, allocations: 318.4 kB / 0.7523 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.8167, allocations: 3.844 kB / 0.7523 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.8167, allocations: 7.438 kB / 0.7523 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.94e-05/0.8167, allocations: 6.891 kB / 0.7523 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8167, allocations: 0 / 0.7523 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.955e-05/0.8168, allocations: 48.86 kB / 0.7524 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8168, allocations: 3.812 kB / 0.7524 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8168, allocations: 0 / 0.7524 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8168, allocations: 3.938 kB / 0.7524 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.8169, allocations: 10.8 kB / 0.7524 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.8169, allocations: 5.625 kB / 0.7524 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.817, allocations: 6.641 kB / 0.7524 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.817, allocations: 7.906 kB / 0.7524 GB, free: 25.89 MB / 0.5105 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 () * 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.464e-05/0.8171, allocations: 108.6 kB / 0.7525 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.8171, allocations: 2.859 kB / 0.7525 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.8172, allocations: 47.02 kB / 0.7526 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8172, allocations: 0 / 0.7526 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8172, allocations: 0 / 0.7526 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8173, allocations: 3.938 kB / 0.7526 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.8174, allocations: 160.1 kB / 0.7527 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8174, allocations: 3.875 kB / 0.7527 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.8175, allocations: 21.84 kB / 0.7528 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.8175, allocations: 0 / 0.7528 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.8175, allocations: 0 / 0.7528 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8175, allocations: 0 / 0.7528 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8175, allocations: 0.8125 kB / 0.7528 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.8176, allocations: 141.2 kB / 0.7529 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.8177, allocations: 85.05 kB / 0.753 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.8177, allocations: 2.953 kB / 0.753 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.8178, allocations: 7.5 kB / 0.753 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.8178, allocations: 11 kB / 0.753 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.8179, allocations: 0.875 kB / 0.753 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.8179, allocations: 79.09 kB / 0.7531 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8179, allocations: 0 / 0.7531 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002184/0.8181, allocations: 11.56 kB / 0.7531 GB, free: 25.23 MB / 0.5105 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 (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.0004765/0.8186, allocations: 0.6772 MB / 0.7537 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.8187, allocations: 18.59 kB / 0.7538 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.8187, allocations: 0 / 0.7538 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.8187, allocations: 3.781 kB / 0.7538 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.8189, allocations: 16.59 kB / 0.7538 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.8192, allocations: 90.83 kB / 0.7539 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.8196, allocations: 0.682 MB / 0.7545 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.8196, allocations: 448 / 0.7545 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.8196, allocations: 11.31 kB / 0.7545 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.8196, allocations: 0 / 0.7545 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.8315, allocations: 1.13 MB / 0.7556 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.8317, allocations: 145.8 kB / 0.7558 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/2.284, allocations: 3 kB / 0.7558 GB, free: 23.36 MB / 0.5105 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)