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.0007441/0.0007441, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0007799/0.0007799, allocations: 218.3 kB / 22.26 MB, free: 3.695 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.9677/0.9677, allocations: 230.6 MB / 256 MB, free: 9.621 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.8031/0.8031, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.0009335/0.0009335, allocations: 61.94 kB / 0.7183 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5198/0.5207, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001304/0.522, allocations: 0.61 MB / 0.8185 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.5229, allocations: 1.166 MB / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.523, allocations: 0 / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.379e-05/0.523, allocations: 0 / 0.8196 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.5232, allocations: 21.23 kB / 0.8197 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.5232, allocations: 0 / 0.8197 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.5233, allocations: 9.672 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.5233, allocations: 5.266 kB / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.61e-05/0.5233, allocations: 3.938 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.122e-05/0.5233, allocations: 2.719 kB / 0.8197 GB, free: 16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.5234, allocations: 3.984 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.5235, allocations: 19.44 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.662e-06/0.5235, allocations: 6.656 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.109e-05/0.5235, allocations: 0 / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.85e-05/0.5236, allocations: 24.55 kB / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5236, allocations: 0 / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5236, allocations: 0 / 0.8197 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5236, allocations: 1.094 kB / 0.8197 GB, free: 15.97 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.0002104/0.5238, allocations: 244.7 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5238, allocations: 9.625 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.5239, allocations: 32.86 kB / 0.82 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.524, allocations: 17.78 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.437e-05/0.5241, allocations: 108.3 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.5241, allocations: 2.219 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.5241, allocations: 0.9844 kB / 0.8201 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.5242, allocations: 46.89 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5242, allocations: 4.797 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.5242, allocations: 1.312 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.5242, allocations: 0 / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.5243, allocations: 6.922 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.5244, allocations: 123.2 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.5245, allocations: 32.09 kB / 0.8203 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.5246, allocations: 9.609 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5246, allocations: 4.562 kB / 0.8203 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.5246, allocations: 45.33 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.5246, allocations: 0 / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001784/0.5264, allocations: 0.5415 MB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5264, allocations: 51.41 kB / 0.821 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.805e-05/0.5264, allocations: 89.86 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.5265, allocations: 30.27 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.5265, allocations: 80.64 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.5265, allocations: 20.58 kB / 0.8212 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.5265, allocations: 19.69 kB / 0.8212 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.5266, allocations: 317.3 kB / 0.8215 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.5269, allocations: 84.95 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.5271, allocations: 101.6 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.5277, allocations: 194 kB / 0.8219 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5277, allocations: 0 / 0.8219 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005486/0.5282, allocations: 215.2 kB / 0.8221 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.5282, allocations: 6.312 kB / 0.8221 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5282, allocations: 0 / 0.8221 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5282, allocations: 5.375 kB / 0.8221 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.5284, allocations: 49.25 kB / 0.8221 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5284, allocations: 4.75 kB / 0.8221 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.5286, allocations: 40.56 kB / 0.8222 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.5286, allocations: 7.312 kB / 0.8222 GB, free: 14.37 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 6.577e-05/0.5287, allocations: 106.5 kB / 0.8223 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.5287, allocations: 10.12 kB / 0.8223 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.5287, allocations: 17.03 kB / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5287, allocations: 7.422 kB / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5287, allocations: 0 / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5287, allocations: 0 / 0.8223 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008058/0.5295, allocations: 426.8 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5295, allocations: 4 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.5297, allocations: 46.83 kB / 0.8228 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.5297, allocations: 4 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5297, allocations: 6.734 kB / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5297, allocations: 0 / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5297, allocations: 0 / 0.8228 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.5303, allocations: 307.7 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-06/0.5303, allocations: 1.312 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.5303, allocations: 6.266 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.5305, allocations: 35.5 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.5305, allocations: 6.656 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.5305, allocations: 3.375 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.366e-05/0.5305, allocations: 76.03 kB / 0.8232 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5305, allocations: 3.938 kB / 0.8232 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001583/0.5307, allocations: 15.88 kB / 0.8232 GB, free: 13.68 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.0007992/0.5315, allocations: 0.8318 MB / 0.824 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005804/0.5321, allocations: 180.4 kB / 0.8242 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5321, allocations: 0 / 0.8242 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.5323, allocations: 93.25 kB / 0.8243 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.5325, allocations: 8.953 kB / 0.8243 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.5335, allocations: 249.7 kB / 0.8245 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.5337, allocations: 0.6768 MB / 0.8252 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.5339, allocations: 29.25 kB / 0.8252 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.5339, allocations: 13.94 kB / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.5339, allocations: 0 / 0.8252 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.5491, allocations: 1.708 MB / 0.8269 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.504/7.053, allocations: 10.92 kB / 0.8269 GB, free: 11.64 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: 10.001962412847206] Failed to read output from testmodel.py, exit status != 0: 7.129466600948945 7.144267842 6.618458475 Calling exit ...