Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.0008485/0.0008485, allocations: 93.06 kB / 19.65 MB, free: 276 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.001729/0.001729, allocations: 165 kB / 23.02 MB, free: 1.547 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.9673/0.9673, allocations: 177.1 MB / 203.4 MB, free: 5.609 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-545:108: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-545:116: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.8202/0.8202, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.444e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001701/0.001736, allocations: 0.7415 MB / 0.521 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003015, allocations: 1.221 MB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.003063, allocations: 0 / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.003094, allocations: 4.469 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.003175, allocations: 20.77 kB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.003612, allocations: 137 kB / 0.5224 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.003789, allocations: 131.8 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.003899, allocations: 16.16 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.004011, allocations: 72.84 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.004098, allocations: 43.86 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.00413, allocations: 12 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.495e-05/0.004205, allocations: 16.97 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.004231, allocations: 19.92 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.841e-05/0.004289, allocations: 41.55 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.004464, allocations: 99.69 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004467, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004468, allocations: 0 / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.004474, allocations: 4 kB / 0.5228 GB, free: 15.65 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004833/0.004957, allocations: 442.8 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.004994, allocations: 9.312 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.005107, allocations: 20.83 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.005196, allocations: 132.4 kB / 0.5234 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005211, allocations: 4.375 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.005229, allocations: 9.719 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.005358, allocations: 66.94 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.005368, allocations: 4.188 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.00538, allocations: 5.141 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.005388, allocations: 4.125 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.005428, allocations: 13.5 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.005821, allocations: 319.7 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/0.005916, allocations: 53.47 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.005946, allocations: 23.55 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.005965, allocations: 0 / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.006068, allocations: 77.17 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.006069, allocations: 0 / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002269/0.006296, allocations: 101.6 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.006338, allocations: 59.84 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.00643, allocations: 177.6 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.006449, allocations: 29.7 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.006513, allocations: 142.8 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.006534, allocations: 19.84 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.006593, allocations: 48.31 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.006719, allocations: 0.4884 MB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.006809, allocations: 61.67 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.683e-05/0.006906, allocations: 119.6 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.007026, allocations: 133.2 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.007029, allocations: 4.625 kB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002361/0.007265, allocations: 222 kB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.007297, allocations: 37.69 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007301, allocations: 0.625 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.007318, allocations: 4.656 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.007398, allocations: 15.98 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.007403, allocations: 1.5 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.007488, allocations: 27.94 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.007505, allocations: 14.42 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 7.629e-05/0.007581, allocations: 168.5 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.007593, allocations: 11.89 kB / 0.5258 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.007728, allocations: 98.08 kB / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.00773, allocations: 0 / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007733, allocations: 3.062 kB / 0.5258 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.007737, allocations: 3.984 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.007939, allocations: 341.3 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007941, allocations: 0 / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.007981, allocations: 7.984 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.007985, allocations: 4 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.007994, allocations: 4 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007995, allocations: 0 / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007996, allocations: 0.5 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.00813, allocations: 245.2 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.008137, allocations: 3.953 kB / 0.5264 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.008148, allocations: 0 / 0.5264 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.632e-05/0.008185, allocations: 7.984 kB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.008223, allocations: 14.5 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.008229, allocations: 3.984 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.008272, allocations: 127.2 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008272, allocations: 0 / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001788/0.008451, allocations: 31.98 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001342/0.008585, allocations: 101.9 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.00878, allocations: 168.6 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008781, allocations: 0 / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.008821, allocations: 39.59 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.009032, allocations: 15.27 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.009519, allocations: 183.4 kB / 0.5271 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.673e-05/0.009555, allocations: 63.34 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.009578, allocations: 5.781 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.009604, allocations: 16.5 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of SimCode: time 7.21e-07/0.009605, allocations: 0 / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.00333/0.01294, allocations: 1.554 MB / 0.5287 GB, free: 9.293 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.988693072926253]