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.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.001967/0.001967, allocations: 104.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.002384/0.002384, 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.63/1.63, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.139/1.139, allocations: 175.8 MB / 478.4 MB, free: 3.449 MB / 366.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-master/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_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: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 73.48 kB / 0.6652 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1912, allocations: 94.54 MB / 0.7576 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00187/0.193, allocations: 0.5965 MB / 0.7582 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1947, allocations: 1.114 MB / 0.7592 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.1947, allocations: 0 / 0.7592 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.1947, allocations: 0 / 0.7592 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.195, allocations: 15.86 kB / 0.7593 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.195, allocations: 4 kB / 0.7593 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.195, allocations: 7.984 kB / 0.7593 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.1951, allocations: 0 / 0.7593 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.1951, allocations: 8 kB / 0.7593 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.503e-05/0.1951, allocations: 3.828 kB / 0.7593 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.1951, allocations: 4 kB / 0.7593 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.1952, allocations: 19.92 kB / 0.7593 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.416e-06/0.1952, allocations: 3.984 kB / 0.7593 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.224e-05/0.1952, allocations: 0 / 0.7593 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.292e-05/0.1953, allocations: 20.2 kB / 0.7593 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1953, allocations: 0 / 0.7593 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.51e-07/0.1953, allocations: 0 / 0.7593 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1953, allocations: 3.938 kB / 0.7593 GB, free: 15.84 MB / 0.5762 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.0003447/0.1957, allocations: 315.5 kB / 0.7596 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1957, allocations: 12.03 kB / 0.7596 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.758e-05/0.1958, allocations: 34.75 kB / 0.7597 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.1958, allocations: 4.938 kB / 0.7597 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1959, allocations: 160.4 kB / 0.7598 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1959, allocations: 8.297 kB / 0.7598 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.196, allocations: 4.375 kB / 0.7598 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.196, allocations: 37.81 kB / 0.7599 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1961, allocations: 3.953 kB / 0.7599 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1961, allocations: 0 / 0.7599 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1961, allocations: 0 / 0.7599 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.1961, allocations: 11.98 kB / 0.7599 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1963, allocations: 149.7 kB / 0.76 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1965, allocations: 34.55 kB / 0.7601 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.1965, allocations: 16.8 kB / 0.7601 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.1967, allocations: 85.19 kB / 0.7602 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.1967, allocations: 34.5 kB / 0.7602 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.1967, allocations: 4 kB / 0.7602 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004658/0.2014, allocations: 0.5677 MB / 0.7608 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.2014, allocations: 51.41 kB / 0.7608 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.359e-05/0.2015, allocations: 89.86 kB / 0.7609 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2015, allocations: 25.7 kB / 0.7609 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.2015, allocations: 80.14 kB / 0.761 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.2016, allocations: 31.77 kB / 0.761 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.2017, allocations: 17.72 kB / 0.761 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2018, allocations: 314.8 kB / 0.7613 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.2025, allocations: 79.95 kB / 0.7614 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.2031, allocations: 106.5 kB / 0.7615 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.2044, allocations: 190.4 kB / 0.7617 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2044, allocations: 0 / 0.7617 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001309/0.2057, allocations: 213.5 kB / 0.7619 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2057, allocations: 8.062 kB / 0.7619 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2057, allocations: 4.188 kB / 0.7619 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2057, allocations: 0 / 0.7619 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.2061, allocations: 59.91 kB / 0.762 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2061, allocations: 3.984 kB / 0.762 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.2065, allocations: 43.92 kB / 0.762 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.2065, allocations: 0 / 0.762 GB, free: 12.81 MB / 0.5762 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.0001091/0.2066, allocations: 113.8 kB / 0.7621 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.2066, allocations: 3.938 kB / 0.7621 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.208, allocations: 237.1 kB / 0.7624 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.208, allocations: 4 kB / 0.7624 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.208, allocations: 0 / 0.7624 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.208, allocations: 0 / 0.7624 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.2096, allocations: 454.4 kB / 0.7628 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2096, allocations: 0 / 0.7628 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.21, allocations: 51.97 kB / 0.7628 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.21, allocations: 0 / 0.7628 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.21, allocations: 4 kB / 0.7628 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.21, allocations: 0 / 0.7628 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.21, allocations: 0 / 0.7628 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.2113, allocations: 319.7 kB / 0.7632 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.2114, allocations: 77.11 kB / 0.7632 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.2114, allocations: 0 / 0.7632 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.2118, allocations: 44.16 kB / 0.7633 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.2118, allocations: 3.984 kB / 0.7633 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.2118, allocations: 11.94 kB / 0.7633 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.2118, allocations: 75.28 kB / 0.7634 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2118, allocations: 0 / 0.7634 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002485/0.2121, allocations: 16 kB / 0.7634 GB, free: 11.32 MB / 0.5762 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.001764/0.2138, allocations: 0.8411 MB / 0.7642 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.2151, allocations: 184 kB / 0.7644 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2151, allocations: 0 / 0.7644 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.2157, allocations: 88.02 kB / 0.7645 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2159, allocations: 5.719 kB / 0.7645 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2172, allocations: 246.5 kB / 0.7647 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.2176, allocations: 0.6729 MB / 0.7653 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.2178, allocations: 32.23 kB / 0.7654 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.2178, allocations: 15.38 kB / 0.7654 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2178, allocations: 0 / 0.7654 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.2434, allocations: 1.638 MB / 0.767 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.3, allocations: 6.547 kB / 0.767 GB, free: 7.621 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.460928252898157] Failed to read output from testmodel.py, exit status != 0: 8.366439589299262 8.382107974 8.183764013 Calling exit ...