Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 211.5 kB / 22.24 MB, free: 3.594 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9567/0.9567, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8106/0.8106, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 66.39 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5184, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001288/0.5197, allocations: 0.6035 MB / 0.8184 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009294/0.5206, allocations: 1.126 MB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.5206, allocations: 4 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.5206, allocations: 3.938 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.5209, allocations: 17.08 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/0.5209, allocations: 0 / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.997e-05/0.5209, allocations: 8.297 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.833e-05/0.521, allocations: 5.359 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.521, allocations: 0 / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.707e-05/0.521, allocations: 5.938 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.521, allocations: 0 / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.587e-05/0.5211, allocations: 14.58 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.5211, allocations: 10.64 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.144e-05/0.5211, allocations: 4 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.787e-05/0.5212, allocations: 13.72 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5212, allocations: 0.7031 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5212, allocations: 3.938 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.5212, allocations: 0 / 0.8196 GB, free: 15.8 MB / 0.6198 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.0002179/0.5214, allocations: 240.5 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.5215, allocations: 9.234 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.998e-05/0.5215, allocations: 35.5 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.5217, allocations: 17.77 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.853e-05/0.5218, allocations: 117.4 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.5218, allocations: 384 / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.5218, allocations: 6.609 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.955e-05/0.5219, allocations: 42.59 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.5219, allocations: 3.375 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.5219, allocations: 0 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5219, allocations: 0 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.571e-05/0.5219, allocations: 5.125 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.522, allocations: 123.3 kB / 0.8202 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.5222, allocations: 37.27 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.5222, allocations: 8.891 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.5222, allocations: 4.75 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.5222, allocations: 36.16 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.5222, allocations: 0 / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001937/0.5242, allocations: 0.5451 MB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.5242, allocations: 53.97 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.005e-05/0.5242, allocations: 89.86 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.5243, allocations: 25.7 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.5243, allocations: 85.92 kB / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.5243, allocations: 18.11 kB / 0.8211 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.5244, allocations: 22 kB / 0.8211 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.5245, allocations: 312.7 kB / 0.8214 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.5248, allocations: 89.97 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.5251, allocations: 104.3 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.5256, allocations: 187.7 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5256, allocations: 0 / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006396/0.5263, allocations: 218.5 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5263, allocations: 5.719 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5263, allocations: 0.7969 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.5263, allocations: 5.094 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.5265, allocations: 55.81 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.5265, allocations: 0 / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.5267, allocations: 45.41 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5267, allocations: 3.609 kB / 0.8221 GB, free: 14.19 MB / 0.6198 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 7.043e-05/0.5268, allocations: 108.1 kB / 0.8222 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.5268, allocations: 6.578 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.5268, allocations: 13.34 kB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5268, allocations: 0 / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5269, allocations: 1 kB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5269, allocations: 0.5625 kB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5279, allocations: 431.1 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5279, allocations: 6.125 kB / 0.8226 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.528, allocations: 48.19 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.528, allocations: 1.188 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5281, allocations: 6.172 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5281, allocations: 0.75 kB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5281, allocations: 0 / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.5287, allocations: 304.2 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-06/0.5287, allocations: 1.688 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5287, allocations: 14.12 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.5289, allocations: 35.94 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.5289, allocations: 7.578 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.5289, allocations: 2.031 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.5289, allocations: 76.5 kB / 0.8231 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5289, allocations: 0 / 0.8231 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001624/0.5291, allocations: 7.031 kB / 0.8231 GB, free: 13.51 MB / 0.6198 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.0008402/0.5299, allocations: 0.8314 MB / 0.8239 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006337/0.5305, allocations: 183.1 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5305, allocations: 1.5 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.5308, allocations: 89.23 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.531, allocations: 5.281 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.5316, allocations: 249.8 kB / 0.8244 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.766e-05/0.5317, allocations: 60.7 kB / 0.8245 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.5318, allocations: 33.12 kB / 0.8245 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.5318, allocations: 13.59 kB / 0.8245 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.5318, allocations: 3.938 kB / 0.8245 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.5469, allocations: 2.102 MB / 0.8266 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/7.034, allocations: 13.11 kB / 0.8266 GB, free: 11.67 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.955676433164626] Failed to read output from testmodel.py, exit status != 0: 7.120932385791093 7.132158507 6.608876952 Calling exit ...