Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.0006941/0.0006941, allocations: 96.36 kB / 19.7 MB, free: 452 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.0006957/0.0006957, allocations: 216.7 kB / 23 MB, free: 2.977 MB / 13.93 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.833/0.833, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7337/0.7337, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [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.0008775/0.0008775, allocations: 69.98 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3934, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001242/0.3946, allocations: 0.7159 MB / 0.8197 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008039/0.3954, allocations: 1.175 MB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.3955, allocations: 2.344 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.3955, allocations: 3.938 kB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.3955, allocations: 13.08 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3958, allocations: 133.6 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.396, allocations: 125.1 kB / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.817e-05/0.396, allocations: 14.23 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.3961, allocations: 50.91 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.3961, allocations: 40.5 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3961, allocations: 9.031 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.3962, allocations: 21 kB / 0.8213 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3962, allocations: 16.11 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.3962, allocations: 38.81 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3964, allocations: 112.8 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3964, allocations: 3.938 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3964, allocations: 0 / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.3964, allocations: 0 / 0.8214 GB, free: 15.79 MB / 0.6198 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.0003778/0.3968, allocations: 337.8 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.549e-05/0.3968, allocations: 11.12 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3968, allocations: 8.141 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.469e-05/0.3969, allocations: 116.1 kB / 0.8219 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3969, allocations: 3.969 kB / 0.8219 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3969, allocations: 14.92 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.397, allocations: 55.59 kB / 0.822 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.397, allocations: 192 / 0.822 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.397, allocations: 17.77 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.397, allocations: 7.406 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.3971, allocations: 40.23 kB / 0.822 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.3974, allocations: 259.9 kB / 0.8223 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.3975, allocations: 53.27 kB / 0.8223 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.3976, allocations: 37.58 kB / 0.8223 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.3976, allocations: 6.25 kB / 0.8224 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.3977, allocations: 86.91 kB / 0.8224 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3977, allocations: 0 / 0.8224 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002493/0.398, allocations: 148.5 kB / 0.8226 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.398, allocations: 53.91 kB / 0.8226 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.3981, allocations: 120.2 kB / 0.8227 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3981, allocations: 35.89 kB / 0.8228 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.3981, allocations: 95.67 kB / 0.8229 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.3981, allocations: 22.72 kB / 0.8229 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3982, allocations: 35.42 kB / 0.8229 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.3983, allocations: 320.7 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.3984, allocations: 78.8 kB / 0.8233 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.86e-05/0.3985, allocations: 119.3 kB / 0.8234 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3986, allocations: 148.8 kB / 0.8236 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3986, allocations: 0 / 0.8236 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002603/0.3989, allocations: 248.5 kB / 0.8238 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.3989, allocations: 35.39 kB / 0.8238 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3989, allocations: 1.125 kB / 0.8238 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.3989, allocations: 5.188 kB / 0.8238 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.652e-05/0.3989, allocations: 12.42 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3989, allocations: 2.312 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3991, allocations: 34.38 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3991, allocations: 11.92 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 6.325e-05/0.3991, allocations: 132.4 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.3991, allocations: 6.391 kB / 0.824 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.3992, allocations: 14.95 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3992, allocations: 1.5 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3992, allocations: 1.219 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3992, allocations: 0.7969 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.3994, allocations: 314.7 kB / 0.8243 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3994, allocations: 0 / 0.8243 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.3995, allocations: 9.469 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3995, allocations: 0 / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.3995, allocations: 5.922 kB / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.3995, allocations: 0 / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3995, allocations: 2.156 kB / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.3996, allocations: 213.4 kB / 0.8246 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.3997, allocations: 7.766 kB / 0.8246 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.3997, allocations: 4.703 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.446e-05/0.3997, allocations: 7.062 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.3997, allocations: 17.45 kB / 0.8246 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3997, allocations: 3.672 kB / 0.8246 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.3998, allocations: 94.95 kB / 0.8247 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3998, allocations: 0 / 0.8247 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001655/0.4, allocations: 21.22 kB / 0.8247 GB, free: 13.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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 8.692e-05/0.4, allocations: 102 kB / 0.8248 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.4003, allocations: 196.8 kB / 0.825 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4003, allocations: 256 / 0.825 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.691e-05/0.4004, allocations: 36.84 kB / 0.825 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.4005, allocations: 13.67 kB / 0.8251 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.4008, allocations: 205.9 kB / 0.8252 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.771e-05/0.4008, allocations: 72.91 kB / 0.8253 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.4009, allocations: 15.28 kB / 0.8253 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.4009, allocations: 0 / 0.8253 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.00209/0.403, allocations: 1.272 MB / 0.8266 GB, free: 12.48 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.009047422092408] Failed to read output from testmodel.py, exit status != 0: 0.40785293793305755 0.41750075 0.019360037 Calling exit ...