Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001589/0.001589, allocations: 80.22 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.001567/0.001567, allocations: 159.6 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.574/1.574, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.326/1.326, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.557e-05/4.823e-05, allocations: 6.719 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002549/0.002598, allocations: 0.6458 MB / 0.6191 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.004852, allocations: 1.081 MB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.004905, allocations: 1 kB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.004947, allocations: 7.922 kB / 0.6202 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/0.005041, allocations: 11.88 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.005414, allocations: 36.77 kB / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.005553, allocations: 51.8 kB / 0.6203 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.005698, allocations: 13.69 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.00581, allocations: 27.92 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.00588, allocations: 15.97 kB / 0.6203 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.005905, allocations: 4 kB / 0.6203 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.006001, allocations: 20.66 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.006043, allocations: 23.84 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.006091, allocations: 15.98 kB / 0.6204 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.00629, allocations: 63.78 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.006293, allocations: 0 / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006294, allocations: 0 / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006299, allocations: 0 / 0.6205 GB, free: 2.617 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008094/0.007108, allocations: 298.2 kB / 0.6207 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.007161, allocations: 9.469 kB / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.007304, allocations: 4.938 kB / 0.6208 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.00744, allocations: 113.7 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.00746, allocations: 8.375 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.007477, allocations: 4.375 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.007769, allocations: 66.2 kB / 0.6209 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.007783, allocations: 4.125 kB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.007798, allocations: 384 / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.007802, allocations: 4.375 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.008083, allocations: 47.88 kB / 0.621 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.008673, allocations: 216.6 kB / 0.6212 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.00892, allocations: 54.53 kB / 0.6213 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.009065, allocations: 28.91 kB / 0.6213 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.009096, allocations: 0 / 0.6213 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.009457, allocations: 79.31 kB / 0.6214 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.009459, allocations: 0 / 0.6214 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006739/0.01013, allocations: 125.6 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.01022, allocations: 55.41 kB / 0.6215 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01034, allocations: 101.8 kB / 0.6216 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.01038, allocations: 33.64 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.456e-05/0.01046, allocations: 84.14 kB / 0.6217 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.0105, allocations: 19.83 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.01057, allocations: 21.72 kB / 0.6218 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.01077, allocations: 318.8 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.01093, allocations: 19.98 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.01112, allocations: 59.47 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.01142, allocations: 79.33 kB / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01143, allocations: 3.938 kB / 0.6222 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004059/0.01183, allocations: 105.6 kB / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.01186, allocations: 11.88 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.01186, allocations: 0 / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.01188, allocations: 7.984 kB / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.01204, allocations: 11.94 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.01206, allocations: 7.984 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/0.01216, allocations: 4 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.01217, allocations: 4 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.00013/0.0123, allocations: 118.8 kB / 0.6225 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.01232, allocations: 11.89 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.01276, allocations: 102.6 kB / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01276, allocations: 0 / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.01277, allocations: 4.062 kB / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01278, allocations: 0 / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006442/0.01342, allocations: 298.1 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01342, allocations: 0 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.441e-05/0.01352, allocations: 11.98 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.01352, allocations: 4 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01353, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01354, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01354, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.014, allocations: 203.3 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.01401, allocations: 0 / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01404, allocations: 0 / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.01419, allocations: 11.98 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.01425, allocations: 11.98 kB / 0.6231 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.01428, allocations: 4 kB / 0.6231 GB, free: 15.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.286e-05/0.01435, allocations: 79.28 kB / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01435, allocations: 0 / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004419/0.01479, allocations: 19.94 kB / 0.6232 GB, free: 15.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000191/0.01498, allocations: 99.23 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004075/0.01539, allocations: 68.02 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01539, allocations: 0 / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.01558, allocations: 31.91 kB / 0.6234 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.01601, allocations: 14.5 kB / 0.6234 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.01648, allocations: 140.7 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.189e-05/0.01657, allocations: 63.34 kB / 0.6236 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.139e-05/0.01661, allocations: 4 kB / 0.6236 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.899e-05/0.01666, allocations: 16.56 kB / 0.6236 GB, free: 15.03 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.01666, allocations: 0 / 0.6236 GB, free: 15.03 MB / 0.545 GB Notification: Performance of Templates: time 0.005975/0.02263, allocations: 0.8271 MB / 0.6245 GB, free: 14.22 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.292059265077114] Failed to read output from testmodel.py, exit status != 0: 0.03522913530468941 0.063349561 0.051451094 Calling exit ...