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.001174/0.001174, allocations: 172.5 kB / 7.647 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.8173/0.8173, allocations: 133.5 MB / 141.6 MB, free: 2.926 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.499/1.499, allocations: 221.5 MB / 395.5 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.0008143/0.0008143, allocations: 99.73 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.632e-05, allocations: 8 kB / 0.5536 GB, free: 8.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.453, allocations: 82.3 MB / 0.6339 GB, free: 40.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.5955, allocations: 110.5 MB / 0.7418 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.5957, allocations: 79.95 kB / 0.7419 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002182/0.5979, allocations: 0.8725 MB / 0.7427 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5979, allocations: 0 / 0.7427 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5979, allocations: 4 kB / 0.7427 GB, free: 11.21 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.0002468/0.5982, allocations: 316.4 kB / 0.743 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5982, allocations: 12.03 kB / 0.7431 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.5983, allocations: 0 / 0.7431 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.737e-05/0.5983, allocations: 170.9 kB / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5984, allocations: 0 / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.5984, allocations: 0 / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.647e-05/0.5985, allocations: 7.984 kB / 0.7432 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.513e-05/0.5985, allocations: 29.7 kB / 0.7433 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5985, allocations: 3.906 kB / 0.7433 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.5986, allocations: 4 kB / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.5986, allocations: 4 kB / 0.7433 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.5987, allocations: 130.2 kB / 0.7434 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.5988, allocations: 34.52 kB / 0.7434 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.5989, allocations: 16.8 kB / 0.7434 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.599, allocations: 81.23 kB / 0.7435 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.599, allocations: 38.56 kB / 0.7436 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5991, allocations: 0 / 0.7436 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.002541/0.6016, allocations: 353.4 kB / 0.7439 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.6016, allocations: 51.41 kB / 0.7439 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.586e-05/0.6017, allocations: 85 kB / 0.744 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.6017, allocations: 29.64 kB / 0.7441 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.6017, allocations: 84.14 kB / 0.7441 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.6018, allocations: 15.8 kB / 0.7441 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.6018, allocations: 0 / 0.7441 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6019, allocations: 314.8 kB / 0.7444 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.602, allocations: 4 kB / 0.7445 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.602, allocations: 26.58 kB / 0.7445 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.529e-05/0.6021, allocations: 23.97 kB / 0.7445 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.6021, allocations: 3.938 kB / 0.7445 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.6023, allocations: 73.47 kB / 0.7446 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6024, allocations: 5.875 kB / 0.7446 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.6024, allocations: 0 / 0.7446 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6024, allocations: 4 kB / 0.7446 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.6028, allocations: 48.06 kB / 0.7446 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6028, allocations: 0 / 0.7446 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.6032, allocations: 39.98 kB / 0.7447 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.6032, allocations: 7.984 kB / 0.7447 GB, free: 9.016 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 (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.537e-05/0.6033, allocations: 108.9 kB / 0.7448 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001718/0.6034, allocations: 65.81 kB / 0.7448 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.6035, allocations: 12 kB / 0.7449 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.6038, allocations: 81.81 kB / 0.7449 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6038, allocations: 0 / 0.7449 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6038, allocations: 0 / 0.7449 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6038, allocations: 0 / 0.7449 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.6042, allocations: 295 kB / 0.7452 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.6042, allocations: 4 kB / 0.7452 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.6046, allocations: 47.97 kB / 0.7453 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6046, allocations: 0 / 0.7453 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.6047, allocations: 4 kB / 0.7453 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6047, allocations: 3.984 kB / 0.7453 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6047, allocations: 0 / 0.7453 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.6049, allocations: 167.3 kB / 0.7454 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.6049, allocations: 77.11 kB / 0.7455 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.605, allocations: 0 / 0.7455 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.6053, allocations: 43.97 kB / 0.7455 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.6054, allocations: 0 / 0.7455 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.6054, allocations: 8.188 kB / 0.7456 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.6054, allocations: 79.28 kB / 0.7456 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6054, allocations: 0 / 0.7456 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000235/0.6057, allocations: 12 kB / 0.7456 GB, free: 7.926 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 (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.0006053/0.6063, allocations: 0.7007 MB / 0.7463 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.6064, allocations: 23.98 kB / 0.7463 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6064, allocations: 8.188 kB / 0.7464 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.6065, allocations: 15.94 kB / 0.7464 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.6066, allocations: 0 / 0.7464 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.6073, allocations: 137.6 kB / 0.7465 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.6076, allocations: 0.6768 MB / 0.7472 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.6078, allocations: 31.98 kB / 0.7472 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.6079, allocations: 11.38 kB / 0.7472 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6079, allocations: 0 / 0.7472 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.6264, allocations: 1.119 MB / 0.7483 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.6267, allocations: 153.3 kB / 0.7484 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/2.026, allocations: 6.5 kB / 0.7484 GB, free: 4.926 MB / 0.5261 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)