Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.001707/0.001707, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002077/0.002077, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.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.8746/0.8746, allocations: 134 MB / 447.2 MB, free: 10.23 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.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.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",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.001929/0.001929, allocations: 71.92 kB / 0.6194 GB, free: 7.191 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1883, allocations: 85.91 MB / 0.7033 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.002073/0.1904, allocations: 0.5896 MB / 0.7038 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002972/0.1907, allocations: 44.25 kB / 0.7039 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.579e-05/0.1907, allocations: 4 kB / 0.7039 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.1907, allocations: 0 / 0.7039 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-06/0.1907, allocations: 3.938 kB / 0.7039 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.191, allocations: 7.984 kB / 0.7039 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.893e-05/0.1911, allocations: 7.984 kB / 0.7039 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1911, allocations: 4 kB / 0.7039 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.355e-05/0.1911, allocations: 0 / 0.7039 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.31e-05/0.1912, allocations: 4 kB / 0.7039 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1912, allocations: 0 / 0.7039 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1913, allocations: 23.97 kB / 0.7039 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1913, allocations: 0 / 0.7039 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.1913, allocations: 3.938 kB / 0.7039 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1914, allocations: 20.19 kB / 0.7039 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1914, allocations: 4 kB / 0.704 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1914, allocations: 3.938 kB / 0.704 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.1914, allocations: 0 / 0.704 GB, free: 0.6484 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000321/0.1918, allocations: 246.4 kB / 0.7042 GB, free: 384 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1918, allocations: 8.031 kB / 0.7042 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.694e-05/0.1918, allocations: 192 / 0.7042 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.1919, allocations: 34.75 kB / 0.7042 GB, free: 332 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.1921, allocations: 20.91 kB / 0.7042 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.64e-05/0.1922, allocations: 102.5 kB / 0.7043 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1922, allocations: 384 / 0.7043 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.1922, allocations: 384 / 0.7043 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1924, allocations: 42 kB / 0.7044 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1924, allocations: 0 / 0.7044 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1924, allocations: 0 / 0.7044 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1924, allocations: 4 kB / 0.7044 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.1925, allocations: 11.92 kB / 0.7044 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1927, allocations: 120.8 kB / 0.7045 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.768e-05/0.1927, allocations: 22.61 kB / 0.7045 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.1928, allocations: 12.91 kB / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1928, allocations: 0 / 0.7046 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.1929, allocations: 34.5 kB / 0.7046 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1929, allocations: 4 kB / 0.7046 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002627/0.1931, allocations: 53.56 kB / 0.7046 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1932, allocations: 55.53 kB / 0.7047 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.1932, allocations: 93.86 kB / 0.7048 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1932, allocations: 25.7 kB / 0.7048 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.1933, allocations: 80.14 kB / 0.7049 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1933, allocations: 0 / 0.7049 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.1933, allocations: 9.719 kB / 0.7049 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1935, allocations: 314.8 kB / 0.7052 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.1935, allocations: 3.984 kB / 0.7052 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.1936, allocations: 8 kB / 0.7052 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.431e-05/0.1937, allocations: 20.84 kB / 0.7052 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1937, allocations: 3.938 kB / 0.7052 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001356/0.1938, allocations: 41.62 kB / 0.7053 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1938, allocations: 11.92 kB / 0.7053 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1938, allocations: 4 kB / 0.7053 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1939, allocations: 4.094 kB / 0.7053 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.1939, allocations: 0 / 0.7053 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1939, allocations: 4 kB / 0.7053 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.194, allocations: 3.938 kB / 0.7053 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.194, allocations: 0 / 0.7053 GB, free: 15.08 MB / 0.5294 GB 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 (1): * Single equations (assignments): 1 * 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 8.506e-05/0.1941, allocations: 109.8 kB / 0.7054 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.1941, allocations: 7.938 kB / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.1941, allocations: 7 kB / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1941, allocations: 4 kB / 0.7054 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1941, allocations: 4 kB / 0.7054 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1941, allocations: 0 / 0.7054 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1942, allocations: 112.8 kB / 0.7055 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1942, allocations: 3.984 kB / 0.7055 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.1943, allocations: 4 kB / 0.7055 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1943, allocations: 3.938 kB / 0.7055 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1943, allocations: 0 / 0.7055 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1943, allocations: 4 kB / 0.7055 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1943, allocations: 0 / 0.7055 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1945, allocations: 73.05 kB / 0.7056 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.1945, allocations: 7.922 kB / 0.7056 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.1945, allocations: 7.938 kB / 0.7056 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.183e-05/0.1945, allocations: 0 / 0.7056 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.021e-05/0.1945, allocations: 0 / 0.7056 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1946, allocations: 0 / 0.7056 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.1946, allocations: 79.31 kB / 0.7057 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1946, allocations: 0 / 0.7057 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001767/0.1948, allocations: 4 kB / 0.7057 GB, free: 14.58 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.0005645/0.1953, allocations: 0.6006 MB / 0.7063 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.1955, allocations: 12.02 kB / 0.7063 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1955, allocations: 4 kB / 0.7063 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.1955, allocations: 7.984 kB / 0.7063 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1957, allocations: 0 / 0.7063 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.1961, allocations: 114.7 kB / 0.7064 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1964, allocations: 0.6768 MB / 0.7071 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.1964, allocations: 0 / 0.7071 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.1965, allocations: 15.42 kB / 0.7071 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1965, allocations: 0 / 0.7071 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.2187, allocations: 1.086 MB / 0.7082 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.12, allocations: 0 / 0.7082 GB, free: 12.12 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.86841814906802] Failed to read output from testmodel.py, exit status != 0: 11.275485091959126 11.29280534 11.098065846 Calling exit ...