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.0007605/0.0007605, 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.0007582/0.0007582, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8666/0.8666, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6964/0.6964, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.874e-06/1.874e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.839e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001407/0.001435, allocations: 0.5887 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002542/0.001689, allocations: 47.81 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.001707, allocations: 4 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.001723, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-06/0.00173, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.002002, allocations: 19.91 kB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.182e-05/0.002054, allocations: 0 / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.002099, allocations: 0 / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.00213, allocations: 4 kB / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.564e-05/0.002156, allocations: 0 / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.002169, allocations: 0 / 0.6188 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.00228, allocations: 23.92 kB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.002295, allocations: 4 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.002309, allocations: 4 kB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.002414, allocations: 19.95 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.002422, allocations: 4 kB / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.442e-06/0.002423, allocations: 0 / 0.6188 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.002429, allocations: 0 / 0.6188 GB, free: 12.95 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.0002732/0.002703, allocations: 238.4 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.002747, allocations: 13.41 kB / 0.619 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.002778, allocations: 30.75 kB / 0.6191 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.002989, allocations: 24.91 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.895e-05/0.003048, allocations: 105.8 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.003062, allocations: 4.312 kB / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.003071, allocations: 384 / 0.6192 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.003221, allocations: 34.25 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.003228, allocations: 192 / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.003237, allocations: 384 / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.003244, allocations: 8.125 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.536e-05/0.00329, allocations: 7.984 kB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.003422, allocations: 120.8 kB / 0.6194 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.393e-05/0.003486, allocations: 18.61 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.003522, allocations: 28.77 kB / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.003549, allocations: 0 / 0.6194 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.003573, allocations: 34.56 kB / 0.6194 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.753e-06/0.003574, allocations: 0 / 0.6194 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002154/0.00379, allocations: 45.67 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.003832, allocations: 55.47 kB / 0.6195 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.341e-05/0.003865, allocations: 93.86 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.003877, allocations: 25.7 kB / 0.6197 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.003905, allocations: 80.14 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.003947, allocations: 4 kB / 0.6197 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.003976, allocations: 13.72 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.004173, allocations: 310.8 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.004215, allocations: 11.92 kB / 0.6201 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.004235, allocations: 4 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.004295, allocations: 16.91 kB / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.004298, allocations: 0 / 0.6201 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.571e-05/0.004383, allocations: 45.69 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.004402, allocations: 4 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.004409, allocations: 0 / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.004429, allocations: 3.984 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.004498, allocations: 4 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.004507, allocations: 3.938 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.004526, allocations: 8.031 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.004535, allocations: 7.938 kB / 0.6202 GB, free: 11.37 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 7.346e-05/0.004609, allocations: 110.8 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.004616, allocations: 3.984 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.00466, allocations: 3 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.004663, allocations: 4 kB / 0.6203 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.00467, allocations: 3.938 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.004674, allocations: 0 / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.385e-05/0.004747, allocations: 112.8 kB / 0.6204 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.004748, allocations: 4 kB / 0.6204 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.004769, allocations: 7.984 kB / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.00477, allocations: 0 / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.004777, allocations: 0 / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004777, allocations: 0 / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.00478, allocations: 3.938 kB / 0.6204 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.337e-05/0.004873, allocations: 65.12 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.00488, allocations: 7.938 kB / 0.6205 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.004891, allocations: 4 kB / 0.6205 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.091e-05/0.004902, allocations: 4.031 kB / 0.6205 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.004919, allocations: 7.875 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.00492, allocations: 3.938 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.004944, allocations: 79.28 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004944, allocations: 0 / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001157/0.00506, allocations: 0 / 0.6206 GB, free: 10.88 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.0002717/0.005331, allocations: 0.593 MB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.816e-05/0.005429, allocations: 16.02 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.005431, allocations: 0 / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.005453, allocations: 11.92 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.005556, allocations: 10.12 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.00582, allocations: 106.7 kB / 0.6213 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.479e-05/0.005855, allocations: 55.36 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.329e-05/0.005878, allocations: 4.125 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.005901, allocations: 8.5 kB / 0.6213 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.005902, allocations: 0 / 0.6213 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.02107, allocations: 1.598 MB / 0.6229 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/6.909, allocations: 2.719 kB / 0.6229 GB, free: 8.531 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.496254106983542] Failed to read output from testmodel.py, exit status != 0: 6.991778889670968 7.002349239 6.9982114 Calling exit ...