Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008714/0.0008714, allocations: 97.41 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004962/0.004962, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7478/0.7478, allocations: 132.3 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 12 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3531, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001307/0.3544, allocations: 1.169 MB / 0.5849 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005964/0.3551, allocations: 455.3 kB / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.847e-05/0.3551, allocations: 0 / 0.5853 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.3551, allocations: 5.375 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.3552, allocations: 1.781 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.3553, allocations: 24.83 kB / 0.5854 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.991e-05/0.3554, allocations: 23.73 kB / 0.5854 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.1e-05/0.3555, allocations: 6.531 kB / 0.5854 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.3555, allocations: 13.44 kB / 0.5854 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.3556, allocations: 14.59 kB / 0.5854 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.3556, allocations: 1.406 kB / 0.5854 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.608e-05/0.3557, allocations: 17.53 kB / 0.5854 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.3557, allocations: 4.312 kB / 0.5854 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.3557, allocations: 36.66 kB / 0.5855 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.849e-05/0.3558, allocations: 31.66 kB / 0.5855 GB, free: 2.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3558, allocations: 0 / 0.5855 GB, free: 2.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3558, allocations: 1.531 kB / 0.5855 GB, free: 2.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.3558, allocations: 0 / 0.5855 GB, free: 2.77 MB / 430.1 MB 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.0003196/0.3561, allocations: 341.1 kB / 0.5858 GB, free: 2.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3562, allocations: 9.125 kB / 0.5858 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.3562, allocations: 40.56 kB / 0.5859 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.3562, allocations: 3.359 kB / 0.5859 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/0.3563, allocations: 171.7 kB / 0.586 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3563, allocations: 4.375 kB / 0.586 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.3564, allocations: 2.156 kB / 0.586 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3565, allocations: 57.78 kB / 0.5861 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3565, allocations: 0 / 0.5861 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.3566, allocations: 1.031 kB / 0.5861 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3566, allocations: 0 / 0.5861 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.3568, allocations: 47.36 kB / 0.5861 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.357, allocations: 255.3 kB / 0.5864 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3571, allocations: 42.86 kB / 0.5864 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.3572, allocations: 28.64 kB / 0.5865 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.152e-05/0.3573, allocations: 81.02 kB / 0.5865 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.3574, allocations: 32.08 kB / 0.5866 GB, free: 1.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3574, allocations: 5.156 kB / 0.5866 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003572/0.3577, allocations: 103.2 kB / 0.5867 GB, free: 1.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.3578, allocations: 51.41 kB / 0.5867 GB, free: 1.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.3578, allocations: 107.2 kB / 0.5868 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.3578, allocations: 25.7 kB / 0.5868 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.3579, allocations: 86.92 kB / 0.5869 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.3579, allocations: 5.984 kB / 0.5869 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.3579, allocations: 13.66 kB / 0.5869 GB, free: 1.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.3579, allocations: 317.4 kB / 0.5872 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.358, allocations: 22.47 kB / 0.5873 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.3581, allocations: 24.64 kB / 0.5873 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3583, allocations: 54.77 kB / 0.5873 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3583, allocations: 0 / 0.5873 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/0.3585, allocations: 81.14 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3585, allocations: 7.953 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3586, allocations: 0 / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.3586, allocations: 1.312 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.342e-05/0.3587, allocations: 19.06 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3587, allocations: 0.6094 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.3587, allocations: 8.578 kB / 0.5875 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3587, allocations: 1.828 kB / 0.5875 GB, free: 0.9102 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.3588, allocations: 113.8 kB / 0.5876 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.3588, allocations: 5.094 kB / 0.5876 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.359, allocations: 85.83 kB / 0.5877 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3591, allocations: 0.7188 kB / 0.5877 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3591, allocations: 0 / 0.5877 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3591, allocations: 5.547 kB / 0.5877 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3592, allocations: 160.2 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3592, allocations: 4.734 kB / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.3593, allocations: 11.58 kB / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3593, allocations: 0 / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.3593, allocations: 0.875 kB / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3593, allocations: 1.922 kB / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3593, allocations: 0 / 0.5878 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.3595, allocations: 177.2 kB / 0.588 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.3595, allocations: 82.73 kB / 0.5881 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.3596, allocations: 0 / 0.5881 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.3596, allocations: 9.094 kB / 0.5881 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.3597, allocations: 14.92 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3597, allocations: 1.156 kB / 0.5881 GB, free: 292 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.158e-05/0.3597, allocations: 80.25 kB / 0.5882 GB, free: 216 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3597, allocations: 0.9375 kB / 0.5882 GB, free: 216 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.3599, allocations: 13.69 kB / 0.5882 GB, free: 208 kB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005028/0.3605, allocations: 0.7093 MB / 0.5889 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3607, allocations: 53.73 kB / 0.5889 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3607, allocations: 3.938 kB / 0.5889 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.3608, allocations: 21.64 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3611, allocations: 7.844 kB / 0.589 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.3615, allocations: 148.8 kB / 0.5891 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3617, allocations: 0.6766 MB / 0.5898 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.214e-05/0.3617, allocations: 2.203 kB / 0.5898 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.3618, allocations: 9.078 kB / 0.5898 GB, free: 14.64 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3618, allocations: 0.7812 kB / 0.5898 GB, free: 14.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.245/0.6068, allocations: 1.152 MB / 0.5909 GB, free: 14.49 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.6071, allocations: 192.3 kB / 0.5911 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.338, allocations: 1.219 kB / 0.5911 GB, free: 14.23 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)