Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0007268/0.0007268, allocations: 76.45 kB / 19.91 MB, free: 12 kB / 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.0007423/0.0007423, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8217/0.8217, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.6822/0.6822, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [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.0008894/0.0008894, allocations: 71.89 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3929, allocations: 101.9 MB / 0.7192 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001463/0.3944, allocations: 0.8353 MB / 0.72 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3955, allocations: 1.198 MB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.874e-05/0.3956, allocations: 5.5 kB / 0.7212 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.3956, allocations: 9.609 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.3957, allocations: 19 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.3961, allocations: 149.3 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3963, allocations: 170.8 kB / 0.7215 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3964, allocations: 26.59 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3966, allocations: 100.8 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.3967, allocations: 58.66 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.3967, allocations: 18.47 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.251e-05/0.3968, allocations: 28.38 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.3968, allocations: 20.73 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.3969, allocations: 62.56 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.3971, allocations: 198.8 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3971, allocations: 0 / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3971, allocations: 3.938 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3971, allocations: 0 / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000522/0.3976, allocations: 417.8 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3977, allocations: 13.56 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.3977, allocations: 16.72 kB / 0.7224 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.398, allocations: 187.2 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.398, allocations: 9.969 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3981, allocations: 14.31 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3982, allocations: 91.22 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3982, allocations: 5.219 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3983, allocations: 5.125 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3983, allocations: 2.281 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.767e-05/0.3984, allocations: 45.72 kB / 0.7228 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.3988, allocations: 312.9 kB / 0.7231 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.3989, allocations: 35.03 kB / 0.7231 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.3989, allocations: 27.2 kB / 0.7231 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.399, allocations: 5.188 kB / 0.7231 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.3991, allocations: 101.6 kB / 0.7232 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3992, allocations: 0 / 0.7232 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002938/0.3994, allocations: 133.5 kB / 0.7234 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.3995, allocations: 54.77 kB / 0.7234 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.3996, allocations: 149.6 kB / 0.7235 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3996, allocations: 32.88 kB / 0.7236 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.3996, allocations: 110.7 kB / 0.7237 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3996, allocations: 34.19 kB / 0.7237 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.3997, allocations: 51.66 kB / 0.7238 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.3997, allocations: 321.6 kB / 0.7241 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3998, allocations: 78.17 kB / 0.7241 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4, allocations: 159.7 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.4001, allocations: 206.1 kB / 0.7245 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4001, allocations: 5.125 kB / 0.7245 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003011/0.4004, allocations: 274.1 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.4005, allocations: 37.08 kB / 0.7248 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4005, allocations: 7.266 kB / 0.7248 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4005, allocations: 7.953 kB / 0.7248 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.4006, allocations: 30.45 kB / 0.7248 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4006, allocations: 5.422 kB / 0.7248 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.4007, allocations: 50.88 kB / 0.7249 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.4007, allocations: 11.84 kB / 0.7249 GB, free: 19.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.143e-05/0.4008, allocations: 129.6 kB / 0.725 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.4008, allocations: 9.469 kB / 0.725 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.4008, allocations: 20.94 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4008, allocations: 1.094 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4008, allocations: 0.8438 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4008, allocations: 4.875 kB / 0.7251 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.4011, allocations: 326.1 kB / 0.7254 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4011, allocations: 0.7969 kB / 0.7254 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.4012, allocations: 13.62 kB / 0.7254 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4012, allocations: 0 / 0.7254 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.4012, allocations: 10.2 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4012, allocations: 5.469 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4012, allocations: 0.8438 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.4014, allocations: 242 kB / 0.7256 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.4014, allocations: 12.06 kB / 0.7256 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4014, allocations: 1.812 kB / 0.7257 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.4015, allocations: 11.39 kB / 0.7257 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.4015, allocations: 10.56 kB / 0.7257 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.4015, allocations: 8.062 kB / 0.7257 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.4016, allocations: 108 kB / 0.7258 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4016, allocations: 0 / 0.7258 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002028/0.4018, allocations: 32.56 kB / 0.7258 GB, free: 18.84 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001092/0.4019, allocations: 104.4 kB / 0.7259 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.4021, allocations: 204.4 kB / 0.7261 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4021, allocations: 1.156 kB / 0.7261 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.4022, allocations: 40.89 kB / 0.7261 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.4024, allocations: 18.31 kB / 0.7262 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.4028, allocations: 298.8 kB / 0.7265 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.4029, allocations: 94.77 kB / 0.7265 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.4029, allocations: 20.92 kB / 0.7266 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4029, allocations: 1.125 kB / 0.7266 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.00308/0.406, allocations: 1.782 MB / 0.7283 GB, free: 18.13 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.360587883973494] Failed to read output from testmodel.py, exit status != 0: 0.4114882261492312 0.41998713400000004 0.021053901 Calling exit ...