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.0007944/0.0007944, 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.0008222/0.0008222, allocations: 169.9 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.8874/0.8874, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7167/0.7167, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.832e-05, allocations: 5.234 kB / 0.6182 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001237/0.001265, allocations: 0.6041 MB / 0.6187 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.001471, allocations: 43.81 kB / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.001485, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.0015, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.001506, allocations: 0 / 0.6188 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.001722, allocations: 15.86 kB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.244e-05/0.001764, allocations: 4 kB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.001803, allocations: 0 / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.00183, allocations: 7.938 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.36e-05/0.001854, allocations: 3.984 kB / 0.6188 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.001873, allocations: 8 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.056e-05/0.001964, allocations: 19.97 kB / 0.6188 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.001975, allocations: 0 / 0.6188 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.304e-05/0.001988, allocations: 0 / 0.6188 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.18e-05/0.00207, allocations: 19.97 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002072, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.002073, allocations: 0 / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.002077, allocations: 0 / 0.6189 GB, free: 12.84 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.0002124/0.002289, allocations: 234.4 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.002327, allocations: 12.03 kB / 0.6191 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.002354, allocations: 30.75 kB / 0.6191 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/0.002557, allocations: 20.91 kB / 0.6191 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.997e-05/0.002617, allocations: 109.8 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.002628, allocations: 4.375 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.002635, allocations: 384 / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.002736, allocations: 38.19 kB / 0.6193 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.002744, allocations: 192 / 0.6193 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.002751, allocations: 384 / 0.6193 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.002756, allocations: 4.125 kB / 0.6193 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.002799, allocations: 11.98 kB / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.848e-05/0.002897, allocations: 116.8 kB / 0.6194 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.00295, allocations: 26.59 kB / 0.6194 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.002976, allocations: 8.922 kB / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.002994, allocations: 0 / 0.6195 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.003013, allocations: 34.5 kB / 0.6195 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.003013, allocations: 3.938 kB / 0.6195 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.003164, allocations: 49.67 kB / 0.6195 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.00319, allocations: 55.34 kB / 0.6196 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.632e-05/0.003217, allocations: 93.8 kB / 0.6197 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.003227, allocations: 29.7 kB / 0.6197 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.003268, allocations: 80.14 kB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.003299, allocations: 4 kB / 0.6198 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.003325, allocations: 13.7 kB / 0.6198 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.003394, allocations: 314.8 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.003437, allocations: 0 / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-05/0.003458, allocations: 12.11 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.3e-05/0.003511, allocations: 20.78 kB / 0.6201 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.003513, allocations: 0 / 0.6201 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.817e-05/0.003581, allocations: 41.69 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.003594, allocations: 8 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.003598, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.003608, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.358e-05/0.003662, allocations: 8.094 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.003667, allocations: 3.938 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.003684, allocations: 7.984 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.00369, allocations: 0 / 0.6202 GB, free: 11.28 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 5.399e-05/0.003744, allocations: 110.8 kB / 0.6203 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-06/0.003748, allocations: 0 / 0.6203 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.003777, allocations: 6.953 kB / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.003778, allocations: 0 / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.003783, allocations: 3.938 kB / 0.6203 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.003786, allocations: 4 kB / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.931e-05/0.003845, allocations: 120.8 kB / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.003846, allocations: 0 / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.003863, allocations: 7.938 kB / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.003864, allocations: 0 / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.00387, allocations: 0 / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.00387, allocations: 0 / 0.6204 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.003872, allocations: 3.938 kB / 0.6204 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.429e-05/0.003946, allocations: 73.06 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.003951, allocations: 8.016 kB / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-06/0.003959, allocations: 0 / 0.6205 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.003971, allocations: 4 kB / 0.6205 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.003983, allocations: 7.922 kB / 0.6205 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.003985, allocations: 3.938 kB / 0.6205 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.659e-05/0.004002, allocations: 75.28 kB / 0.6206 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004002, allocations: 0 / 0.6206 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001096/0.004111, allocations: 3.938 kB / 0.6206 GB, free: 10.78 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.0002563/0.004368, allocations: 0.6046 MB / 0.6212 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.004465, allocations: 7.984 kB / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.004467, allocations: 4 kB / 0.6212 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.004484, allocations: 4 kB / 0.6212 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/0.004593, allocations: 7.938 kB / 0.6212 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.004873, allocations: 110.6 kB / 0.6213 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.45e-05/0.004908, allocations: 55.34 kB / 0.6214 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.004933, allocations: 8.125 kB / 0.6214 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.00496, allocations: 8.5 kB / 0.6214 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/0.00496, allocations: 0 / 0.6214 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.0177, allocations: 1.589 MB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.662, allocations: 4.922 kB / 0.623 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.292069752700627] Failed to read output from testmodel.py, exit status != 0: 6.7394577991217375 6.747727037 6.744001983 Calling exit ...