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.001422/0.001422, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001668/0.001668, allocations: 217.5 kB / 22.26 MB, free: 5.125 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.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.282/1.282, allocations: 203.8 MB / 0.5041 GB, free: 4.934 MB / 414.1 MB " [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: 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.003248/0.003248, allocations: 71.89 kB / 0.7187 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.7318, allocations: 102 MB / 0.8183 GB, free: 29.22 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001837/0.7337, allocations: 0.6647 MB / 0.819 GB, free: 28.81 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.735, allocations: 1.1 MB / 0.82 GB, free: 28.01 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.735, allocations: 0 / 0.82 GB, free: 28.01 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.7351, allocations: 3.938 kB / 0.82 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.7351, allocations: 10.73 kB / 0.82 GB, free: 28 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.7354, allocations: 39.28 kB / 0.8201 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.7355, allocations: 58.31 kB / 0.8201 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 8.127e-05/0.7356, allocations: 5.062 kB / 0.8201 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.265e-05/0.7356, allocations: 20.42 kB / 0.8202 GB, free: 27.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.7357, allocations: 23.8 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.7357, allocations: 3.688 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.994e-05/0.7358, allocations: 25.11 kB / 0.8202 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.7358, allocations: 14.55 kB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.7358, allocations: 19.44 kB / 0.8202 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.7359, allocations: 68.28 kB / 0.8203 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.736, allocations: 0 / 0.8203 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.262e-06/0.736, allocations: 0 / 0.8203 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.736, allocations: 0.7812 kB / 0.8203 GB, free: 27.87 MB / 0.6387 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.000493/0.7365, allocations: 298 kB / 0.8206 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.7365, allocations: 11.41 kB / 0.8206 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.7366, allocations: 5.234 kB / 0.8206 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.314e-05/0.7366, allocations: 110.5 kB / 0.8207 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.7366, allocations: 3.031 kB / 0.8207 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.7367, allocations: 2.969 kB / 0.8207 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.7368, allocations: 63.62 kB / 0.8208 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7369, allocations: 1.562 kB / 0.8208 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7369, allocations: 6.516 kB / 0.8208 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.7369, allocations: 5.781 kB / 0.8208 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.7371, allocations: 48.17 kB / 0.8208 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.7374, allocations: 245 kB / 0.8211 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.7376, allocations: 56.75 kB / 0.8211 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.7377, allocations: 32.7 kB / 0.8212 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.7377, allocations: 2.422 kB / 0.8212 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.7379, allocations: 80 kB / 0.8212 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.7379, allocations: 1.531 kB / 0.8212 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=6): time 0.0004/0.7383, allocations: 119.2 kB / 0.8214 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.7383, allocations: 57.7 kB / 0.8214 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.402e-05/0.7384, allocations: 111.2 kB / 0.8215 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.7384, allocations: 26.89 kB / 0.8215 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/0.7384, allocations: 82.47 kB / 0.8216 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.7384, allocations: 19.33 kB / 0.8216 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.7385, allocations: 25.48 kB / 0.8217 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.7385, allocations: 318.5 kB / 0.822 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.7386, allocations: 26.17 kB / 0.822 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.7387, allocations: 47.28 kB / 0.822 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.7389, allocations: 82.84 kB / 0.8221 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7389, allocations: 0 / 0.8221 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002488/0.7391, allocations: 111.8 kB / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.7392, allocations: 4.875 kB / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.7392, allocations: 1.438 kB / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.7392, allocations: 1.984 kB / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.7393, allocations: 13.33 kB / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7393, allocations: 6.391 kB / 0.8222 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.7394, allocations: 6.531 kB / 0.8223 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.7394, allocations: 7.5 kB / 0.8223 GB, free: 26.2 MB / 0.6387 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 5.536e-05/0.7394, allocations: 121.5 kB / 0.8224 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.7394, allocations: 7.25 kB / 0.8224 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.7397, allocations: 100.6 kB / 0.8225 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7397, allocations: 1.031 kB / 0.8225 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.7397, allocations: 0.5938 kB / 0.8225 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7397, allocations: 0.6562 kB / 0.8225 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.7401, allocations: 326.9 kB / 0.8228 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7401, allocations: 0.5312 kB / 0.8228 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.348e-05/0.7402, allocations: 9.641 kB / 0.8228 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7402, allocations: 0.7188 kB / 0.8228 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.7402, allocations: 9.641 kB / 0.8228 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7402, allocations: 0.625 kB / 0.8228 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7402, allocations: 1.281 kB / 0.8228 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.7404, allocations: 198.8 kB / 0.823 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.7404, allocations: 6.922 kB / 0.823 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7405, allocations: 9.594 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7406, allocations: 7.641 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.7406, allocations: 4.938 kB / 0.823 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.7406, allocations: 10.17 kB / 0.823 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.7407, allocations: 89.77 kB / 0.8231 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7407, allocations: 0.5312 kB / 0.8231 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002527/0.7409, allocations: 10.91 kB / 0.8231 GB, free: 25.46 MB / 0.6387 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.0001056/0.741, allocations: 104.4 kB / 0.8232 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.7413, allocations: 65.14 kB / 0.8233 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7413, allocations: 4.188 kB / 0.8233 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.7414, allocations: 32.31 kB / 0.8233 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.7416, allocations: 12.03 kB / 0.8233 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.7419, allocations: 132.2 kB / 0.8235 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.85e-05/0.742, allocations: 0.683 MB / 0.8241 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.7421, allocations: 10.89 kB / 0.8242 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.7421, allocations: 11.3 kB / 0.8242 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.7421, allocations: 1.156 kB / 0.8242 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.003479/0.7456, allocations: 0.8073 MB / 0.825 GB, free: 24.42 MB / 0.6387 GB " [Timeout remaining time 659] 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.902751205489039] Failed to read output from testmodel.py, exit status != 0: 0.7559738177806139 0.773481365 0.03304677399999994 Calling exit ...