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.00133/0.00133, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001382/0.001382, allocations: 165.8 kB / 22.46 MB, free: 5.375 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.418/1.418, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 1.236/1.236, allocations: 154.6 MB / 413.8 MB, free: 5.203 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 2.995e-06/2.995e-06, allocations: 0 / 0.6186 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.585e-05, allocations: 3.312 kB / 0.6186 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002086/0.002122, allocations: 0.8375 MB / 0.6195 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.00399, allocations: 1.209 MB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.004056, allocations: 0 / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.004095, allocations: 7.875 kB / 0.6207 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.564e-05/0.004191, allocations: 15.81 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.004748, allocations: 154.4 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.004989, allocations: 167.6 kB / 0.621 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.005117, allocations: 33.23 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.005272, allocations: 91.84 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.005403, allocations: 63.84 kB / 0.6212 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.005439, allocations: 12 kB / 0.6212 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.005519, allocations: 27.94 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.005562, allocations: 27.89 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.005646, allocations: 51.89 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.005929, allocations: 187.4 kB / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005932, allocations: 0 / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005933, allocations: 4 kB / 0.6215 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.005937, allocations: 0 / 0.6215 GB, free: 1.605 MB / 0.5294 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.0007785/0.006715, allocations: 414 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.006757, allocations: 16.03 kB / 0.6219 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.006824, allocations: 16.84 kB / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.007385, allocations: 193.6 kB / 0.6221 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.007404, allocations: 8.375 kB / 0.6221 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.007443, allocations: 16.38 kB / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.007682, allocations: 89.02 kB / 0.6222 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007691, allocations: 4.188 kB / 0.6222 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.007714, allocations: 4.375 kB / 0.6222 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.007722, allocations: 4.125 kB / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.007911, allocations: 47.95 kB / 0.6222 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007418/0.008653, allocations: 312.1 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.008785, allocations: 34.56 kB / 0.6226 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.008891, allocations: 32.95 kB / 0.6226 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.008915, allocations: 0 / 0.6226 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.00918, allocations: 103.2 kB / 0.6227 GB, free: 212 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.009182, allocations: 0 / 0.6227 GB, free: 212 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004685/0.00965, allocations: 133.5 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.009702, allocations: 55.41 kB / 0.6229 GB, free: 4 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.009872, allocations: 151.7 kB / 0.623 GB, free: 15.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.009907, allocations: 29.7 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.009999, allocations: 112.1 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.01004, allocations: 23.81 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.01014, allocations: 49.69 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.01029, allocations: 326.8 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.01048, allocations: 77.66 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.01074, allocations: 164.8 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.01111, allocations: 208.6 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01112, allocations: 0 / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005581/0.01167, allocations: 268.7 kB / 0.6242 GB, free: 14.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.01173, allocations: 38.06 kB / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01174, allocations: 8 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01176, allocations: 4 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.01188, allocations: 27.92 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.01189, allocations: 4 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.01213, allocations: 43.84 kB / 0.6243 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.01216, allocations: 12 kB / 0.6244 GB, free: 14.33 MB / 0.545 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 0.000132/0.01229, allocations: 126.7 kB / 0.6245 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.01231, allocations: 15.95 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.01235, allocations: 16.77 kB / 0.6245 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.01235, allocations: 4 kB / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01236, allocations: 0 / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01236, allocations: 0 / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.01294, allocations: 342.3 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01294, allocations: 4.094 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.714e-05/0.01304, allocations: 19.92 kB / 0.6249 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01304, allocations: 0 / 0.6249 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01306, allocations: 7.938 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01306, allocations: 0 / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01306, allocations: 3.938 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.01351, allocations: 247.3 kB / 0.6251 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.01353, allocations: 7.891 kB / 0.6251 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.01355, allocations: 4 kB / 0.6251 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.01364, allocations: 8.031 kB / 0.6251 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.01369, allocations: 11.98 kB / 0.6251 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.0137, allocations: 7.938 kB / 0.6251 GB, free: 13.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.01378, allocations: 105.3 kB / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01378, allocations: 0 / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000299/0.01408, allocations: 35.94 kB / 0.6253 GB, free: 13.32 MB / 0.545 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.0001876/0.01427, allocations: 103.2 kB / 0.6254 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.01472, allocations: 205.3 kB / 0.6256 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01472, allocations: 0 / 0.6256 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.01484, allocations: 31.92 kB / 0.6256 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.01514, allocations: 18.17 kB / 0.6256 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.01569, allocations: 253.9 kB / 0.6259 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.0158, allocations: 102.1 kB / 0.626 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.028e-05/0.01586, allocations: 16.64 kB / 0.626 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.01589, allocations: 16.5 kB / 0.626 GB, free: 12.52 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01589, allocations: 0 / 0.626 GB, free: 12.52 MB / 0.545 GB Notification: Performance of Templates: time 0.005295/0.02119, allocations: 1.739 MB / 0.6277 GB, free: 10.85 MB / 0.545 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.713983856141567] Failed to read output from testmodel.py, exit status != 0: 0.030068494379520416 0.044162092 0.035241039 Calling exit ...