Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001787/0.001786, 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.7361/0.7361, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.605/1.605, 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.001309/0.00131, allocations: 104.8 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.219e-05/5.242e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1676, allocations: 82.31 MB / 0.6405 GB, free: 7.688 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6241/0.7917, allocations: 111.1 MB / 0.749 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.792, allocations: 83.02 kB / 0.7491 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002828/0.7948, allocations: 0.8693 MB / 0.75 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7948, allocations: 0 / 0.75 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7948, allocations: 0 / 0.75 GB, free: 27.49 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.0002598/0.7951, allocations: 317.9 kB / 0.7503 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.7952, allocations: 7.688 kB / 0.7503 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.7952, allocations: 33.81 kB / 0.7503 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.7952, allocations: 4.781 kB / 0.7503 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.7953, allocations: 172.7 kB / 0.7505 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.7954, allocations: 0 / 0.7505 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.7954, allocations: 3 kB / 0.7505 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.057e-05/0.7955, allocations: 36.89 kB / 0.7505 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.7955, allocations: 3.906 kB / 0.7505 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.7955, allocations: 0 / 0.7505 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7955, allocations: 3.844 kB / 0.7505 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.392e-05/0.7956, allocations: 11.34 kB / 0.7505 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.7957, allocations: 156.7 kB / 0.7507 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.7959, allocations: 36.62 kB / 0.7507 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.7959, allocations: 8.703 kB / 0.7507 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.796, allocations: 80.25 kB / 0.7508 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.7961, allocations: 39.53 kB / 0.7508 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7961, allocations: 0 / 0.7508 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.002432/0.7985, allocations: 346.9 kB / 0.7512 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.7985, allocations: 54.69 kB / 0.7512 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.938e-05/0.7986, allocations: 88.94 kB / 0.7513 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.7986, allocations: 25.7 kB / 0.7513 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.7986, allocations: 83.52 kB / 0.7514 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.7987, allocations: 11.66 kB / 0.7514 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-06/0.7987, allocations: 3.938 kB / 0.7514 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7988, allocations: 318.7 kB / 0.7517 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.7989, allocations: 10.89 kB / 0.7518 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.7989, allocations: 26.2 kB / 0.7518 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.799, allocations: 7.828 kB / 0.7518 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.799, allocations: 0 / 0.7518 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001483/0.7991, allocations: 74.59 kB / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7992, allocations: 8.656 kB / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7992, allocations: 0 / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7992, allocations: 0 / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.7996, allocations: 51.31 kB / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7996, allocations: 0 / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.7999, allocations: 40.53 kB / 0.752 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.8, allocations: 3.844 kB / 0.752 GB, free: 25.76 MB / 0.5105 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 (5): * Single equations (assignments): 5 * 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.666e-05/0.8, allocations: 115.8 kB / 0.7521 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.8001, allocations: 3.844 kB / 0.7521 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.8003, allocations: 87.61 kB / 0.7522 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.8003, allocations: 0 / 0.7522 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8003, allocations: 0 / 0.7522 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8004, allocations: 2.812 kB / 0.7522 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.8007, allocations: 310.9 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8007, allocations: 0 / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.8011, allocations: 50.02 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.8011, allocations: 0 / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.8011, allocations: 2.953 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.8012, allocations: 6.938 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8012, allocations: 0 / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.8013, allocations: 162.9 kB / 0.7527 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.8014, allocations: 81.02 kB / 0.7527 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.8014, allocations: 3.625 kB / 0.7527 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.8018, allocations: 40.66 kB / 0.7528 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.8018, allocations: 0 / 0.7528 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.8018, allocations: 10.67 kB / 0.7528 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.8019, allocations: 75.28 kB / 0.7529 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8019, allocations: 0 / 0.7529 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002198/0.8021, allocations: 11.59 kB / 0.7529 GB, free: 24.96 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 (5): * Single equations (assignments): 5 * 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.0004953/0.8026, allocations: 0.6952 MB / 0.7536 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.8027, allocations: 29.16 kB / 0.7536 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8028, allocations: 3.781 kB / 0.7536 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.8028, allocations: 18.39 kB / 0.7536 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.8029, allocations: 0 / 0.7536 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.8036, allocations: 136.7 kB / 0.7537 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.8039, allocations: 0.682 MB / 0.7544 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.8041, allocations: 28.72 kB / 0.7544 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.8042, allocations: 13.62 kB / 0.7544 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of SimCode: time 4.1e-07/0.8042, allocations: 0 / 0.7544 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.8152, allocations: 1.429 MB / 0.7558 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/0.8154, allocations: 162.2 kB / 0.756 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/2.246, allocations: 0 / 0.756 GB, free: 23.06 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)