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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8831/0.8831, allocations: 134 MB / 436.6 MB, free: 13.64 MB / 350.1 MB " [Timeout remaining time 179] 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 63.91 kB / 0.6052 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4055, allocations: 84.67 MB / 0.6878 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00156/0.407, allocations: 0.5889 MB / 0.6884 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.4081, allocations: 1.104 MB / 0.6895 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.4082, allocations: 1.156 kB / 0.6895 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.4082, allocations: 0 / 0.6895 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.4084, allocations: 23.23 kB / 0.6895 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-06/0.4084, allocations: 3.938 kB / 0.6895 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.598e-05/0.4084, allocations: 1.375 kB / 0.6895 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.4085, allocations: 9.297 kB / 0.6895 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.282e-05/0.4085, allocations: 1.406 kB / 0.6895 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.269e-05/0.4085, allocations: 9.078 kB / 0.6895 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-06/0.4085, allocations: 5.188 kB / 0.6895 GB, free: 444 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.593e-05/0.4086, allocations: 19.64 kB / 0.6896 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.032e-06/0.4086, allocations: 0 / 0.6896 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.057e-05/0.4086, allocations: 1.281 kB / 0.6896 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.325e-05/0.4087, allocations: 12.94 kB / 0.6896 GB, free: 424 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4087, allocations: 1.5 kB / 0.6896 GB, free: 424 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4087, allocations: 3.938 kB / 0.6896 GB, free: 420 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.4087, allocations: 4 kB / 0.6896 GB, free: 416 kB / 0.4981 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.0002018/0.4089, allocations: 323.3 kB / 0.6899 GB, free: 52 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4089, allocations: 9.062 kB / 0.6899 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.126e-05/0.409, allocations: 32.16 kB / 0.6899 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.409, allocations: 0.9375 kB / 0.6899 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.4091, allocations: 161.1 kB / 0.6901 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.4091, allocations: 1.875 kB / 0.6901 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.4092, allocations: 1.875 kB / 0.6901 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4093, allocations: 40.72 kB / 0.6901 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.4093, allocations: 5.438 kB / 0.6901 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.4093, allocations: 0 / 0.6901 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4093, allocations: 4 kB / 0.6901 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.562e-05/0.4093, allocations: 8.344 kB / 0.6902 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.4095, allocations: 156.5 kB / 0.6903 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.4097, allocations: 37 kB / 0.6903 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.4097, allocations: 7.609 kB / 0.6903 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.4099, allocations: 89.88 kB / 0.6904 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4099, allocations: 34.5 kB / 0.6905 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4099, allocations: 0 / 0.6905 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004497/0.4144, allocations: 0.5691 MB / 0.691 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4144, allocations: 52.44 kB / 0.6911 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/0.4145, allocations: 89.86 kB / 0.6912 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.4145, allocations: 30.83 kB / 0.6912 GB, free: 15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.4145, allocations: 88.08 kB / 0.6913 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.4146, allocations: 10.25 kB / 0.6913 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/0.4146, allocations: 22.3 kB / 0.6913 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4148, allocations: 310.8 kB / 0.6916 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.4154, allocations: 87.11 kB / 0.6917 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.416, allocations: 99.69 kB / 0.6918 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.4173, allocations: 191.5 kB / 0.692 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4173, allocations: 3.938 kB / 0.692 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001382/0.4187, allocations: 222.4 kB / 0.6922 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4187, allocations: 5.406 kB / 0.6922 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4187, allocations: 1.062 kB / 0.6922 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.4187, allocations: 1.062 kB / 0.6922 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.4191, allocations: 50.5 kB / 0.6922 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4191, allocations: 5.25 kB / 0.6922 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.4195, allocations: 46.28 kB / 0.6923 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.4195, allocations: 2.188 kB / 0.6923 GB, free: 14.3 MB / 0.5137 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.4196, allocations: 108 kB / 0.6924 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.4196, allocations: 5.031 kB / 0.6924 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001427/0.4211, allocations: 242.9 kB / 0.6926 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4211, allocations: 1.281 kB / 0.6926 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4211, allocations: 0 / 0.6926 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4211, allocations: 0 / 0.6926 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.4227, allocations: 455.2 kB / 0.6931 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4228, allocations: 8.062 kB / 0.6931 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.4232, allocations: 49.94 kB / 0.6931 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4232, allocations: 4 kB / 0.6931 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4232, allocations: 4.797 kB / 0.6931 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4232, allocations: 1.062 kB / 0.6931 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4232, allocations: 0 / 0.6931 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.4246, allocations: 302.4 kB / 0.6934 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.4246, allocations: 82.28 kB / 0.6935 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.4247, allocations: 9.281 kB / 0.6935 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.425, allocations: 34.05 kB / 0.6935 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.4251, allocations: 9.141 kB / 0.6935 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4251, allocations: 2.188 kB / 0.6935 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.713e-05/0.4251, allocations: 75.28 kB / 0.6936 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4251, allocations: 0 / 0.6936 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002747/0.4254, allocations: 13.16 kB / 0.6936 GB, free: 13.3 MB / 0.5137 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 (5): * Single equations (assignments): 5 * 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.00195/0.4273, allocations: 0.8439 MB / 0.6944 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.4287, allocations: 181.3 kB / 0.6946 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4287, allocations: 0 / 0.6946 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.4293, allocations: 91.45 kB / 0.6947 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.4295, allocations: 1.375 kB / 0.6947 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.431, allocations: 263.1 kB / 0.695 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.4313, allocations: 0.673 MB / 0.6956 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000176/0.4315, allocations: 29.44 kB / 0.6956 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.539e-05/0.4315, allocations: 18.17 kB / 0.6957 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of SimCode: time 1.152e-06/0.4315, allocations: 3.938 kB / 0.6957 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.4633, allocations: 1.645 MB / 0.6973 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.407, allocations: 5.812 kB / 0.6973 GB, free: 10.7 MB / 0.5137 GB " [Timeout remaining time 652] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.890314483083785] Failed to read output from testmodel.py, exit status != 0: 8.47839059913531 8.50532431 8.091184953 Calling exit ...