Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001292/0.001292, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001443/0.001443, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9272/0.9272, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.7136/0.7136, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.756e-05, allocations: 9.203 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001431/0.001448, allocations: 0.5963 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.001706, allocations: 43.86 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.001724, allocations: 0 / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.001742, allocations: 0 / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-06/0.001749, allocations: 0 / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.002006, allocations: 23.86 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.639e-05/0.002052, allocations: 3.984 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.002097, allocations: 0 / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.002122, allocations: 4 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.002152, allocations: 4 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.002166, allocations: 0 / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.002271, allocations: 15.98 kB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.002283, allocations: 0 / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.002299, allocations: 4 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.405e-05/0.002393, allocations: 23.89 kB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.002395, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002396, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.0024, allocations: 0 / 0.6188 GB, free: 12.93 MB / 0.5886 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.0002421/0.002642, allocations: 246.4 kB / 0.619 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.002683, allocations: 13.47 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.002714, allocations: 34.69 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.002933, allocations: 16.91 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.003018, allocations: 105.8 kB / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.003031, allocations: 384 / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.00304, allocations: 384 / 0.6192 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.00317, allocations: 34.25 kB / 0.6192 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.003179, allocations: 192 / 0.6192 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.003189, allocations: 8.359 kB / 0.6192 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.003196, allocations: 4.125 kB / 0.6193 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.00326, allocations: 11.98 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.003391, allocations: 120.8 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.553e-05/0.003456, allocations: 22.55 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.003494, allocations: 12.91 kB / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.003514, allocations: 0 / 0.6194 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.003536, allocations: 34.56 kB / 0.6194 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.003537, allocations: 4 kB / 0.6194 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000196/0.003733, allocations: 41.69 kB / 0.6195 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.003772, allocations: 67.27 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.727e-05/0.003799, allocations: 89.86 kB / 0.6196 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.003812, allocations: 25.7 kB / 0.6197 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.003833, allocations: 80.14 kB / 0.6197 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.00386, allocations: 3.938 kB / 0.6197 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.003894, allocations: 13.72 kB / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.004027, allocations: 311 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.42e-05/0.004071, allocations: 15.98 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.004098, allocations: 0 / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.837e-05/0.004166, allocations: 16.84 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.004168, allocations: 0 / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.934e-05/0.004268, allocations: 45.62 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.004282, allocations: 4 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.004288, allocations: 8.031 kB / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.0043, allocations: 0 / 0.6201 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.004363, allocations: 7.984 kB / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.00437, allocations: 3.938 kB / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.004393, allocations: 0 / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.004401, allocations: 4 kB / 0.6202 GB, free: 11.36 MB / 0.5886 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 6.285e-05/0.004463, allocations: 106.8 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-06/0.00447, allocations: 0 / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.004506, allocations: 10.98 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.004508, allocations: 4 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.004514, allocations: 3.938 kB / 0.6203 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.004519, allocations: 4 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.291e-05/0.004592, allocations: 112.8 kB / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.004594, allocations: 4 kB / 0.6204 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.004626, allocations: 7.984 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.004627, allocations: 0 / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.004634, allocations: 0 / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.004635, allocations: 0 / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.004637, allocations: 3.938 kB / 0.6204 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.004748, allocations: 77.02 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.004753, allocations: 0 / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.004764, allocations: 3.984 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.004785, allocations: 4 kB / 0.6205 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.004798, allocations: 3.938 kB / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.004801, allocations: 0 / 0.6205 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.181e-05/0.004823, allocations: 75.28 kB / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.004823, allocations: 0 / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002133/0.005036, allocations: 4 kB / 0.6206 GB, free: 10.86 MB / 0.5886 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.0003548/0.005391, allocations: 0.5969 MB / 0.6211 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.005514, allocations: 15.92 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005516, allocations: 0 / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.005547, allocations: 7.984 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.00569, allocations: 9.75 kB / 0.6212 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.006132, allocations: 114.8 kB / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.006168, allocations: 55.3 kB / 0.6213 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.006201, allocations: 4 kB / 0.6213 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.00623, allocations: 8.5 kB / 0.6213 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of SimCode: time 6.72e-07/0.006231, allocations: 0 / 0.6213 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.0195, allocations: 1.589 MB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.839, allocations: 0.9375 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.684595837257802] Failed to read output from testmodel.py, exit status != 0: 6.919802543707192 6.933855684 6.929670184 Calling exit ...