Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.0006863/0.0006863, allocations: 96.38 kB / 19.7 MB, free: 448 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.0006945/0.0006945, allocations: 212.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.8642/0.8642, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7134/0.7134, allocations: 203.8 MB / 0.5049 GB, free: 10.46 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [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.0008227/0.0008227, allocations: 64.31 kB / 0.7194 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3807, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001294/0.382, allocations: 0.717 MB / 0.8197 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.3828, allocations: 1.167 MB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.3829, allocations: 3.781 kB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.3829, allocations: 4.547 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.383, allocations: 16.98 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.3833, allocations: 133.2 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3835, allocations: 116.7 kB / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.3836, allocations: 19.03 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.15e-05/0.3836, allocations: 46.48 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.3837, allocations: 42 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3837, allocations: 11.88 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.691e-05/0.3838, allocations: 21.67 kB / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.3838, allocations: 10.33 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.3838, allocations: 37.67 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.384, allocations: 125.9 kB / 0.8214 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.384, allocations: 0 / 0.8214 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/0.384, allocations: 0.8438 kB / 0.8214 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.384, allocations: 4 kB / 0.8214 GB, free: 15.77 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.0004282/0.3844, allocations: 329.8 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.3845, allocations: 9.5 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3845, allocations: 14.59 kB / 0.8218 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.3846, allocations: 122.1 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3846, allocations: 5.5 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3846, allocations: 6.484 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3847, allocations: 61.77 kB / 0.822 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3847, allocations: 1.094 kB / 0.822 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3847, allocations: 8.641 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.3847, allocations: 7.703 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.3848, allocations: 44.19 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.3852, allocations: 256 kB / 0.8223 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.3853, allocations: 60.52 kB / 0.8223 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.3853, allocations: 38.2 kB / 0.8224 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.3854, allocations: 1.875 kB / 0.8224 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.3855, allocations: 83.66 kB / 0.8224 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3855, allocations: 0 / 0.8224 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002596/0.3857, allocations: 145.6 kB / 0.8226 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.3858, allocations: 56.44 kB / 0.8226 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.977e-05/0.3858, allocations: 119.2 kB / 0.8227 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3858, allocations: 34.17 kB / 0.8228 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.3859, allocations: 94.77 kB / 0.8229 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.3859, allocations: 22.98 kB / 0.8229 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.3859, allocations: 38.33 kB / 0.8229 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.386, allocations: 319.5 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3861, allocations: 81.55 kB / 0.8233 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3862, allocations: 116 kB / 0.8234 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3864, allocations: 146.5 kB / 0.8236 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3864, allocations: 0 / 0.8236 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002578/0.3866, allocations: 243.1 kB / 0.8238 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.3867, allocations: 34.84 kB / 0.8238 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3867, allocations: 6.469 kB / 0.8238 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3867, allocations: 1.312 kB / 0.8238 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.044e-05/0.3867, allocations: 14.83 kB / 0.8238 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3867, allocations: 3.219 kB / 0.8238 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3868, allocations: 30 kB / 0.8239 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3869, allocations: 11.73 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,edge1.y,edge1.u,$PRE.edge1.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 0.0001961/0.387, allocations: 133.3 kB / 0.824 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-06/0.3871, allocations: 11.34 kB / 0.824 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.3871, allocations: 10.5 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3871, allocations: 1.5 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3871, allocations: 0.8906 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3871, allocations: 1.125 kB / 0.824 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3873, allocations: 314.2 kB / 0.8243 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3873, allocations: 5.312 kB / 0.8243 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.3874, allocations: 9.281 kB / 0.8244 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3874, allocations: 8 kB / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3874, allocations: 2.281 kB / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3874, allocations: 0 / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3874, allocations: 1.484 kB / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.3875, allocations: 221.7 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-06/0.3876, allocations: 6.641 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.3876, allocations: 2.578 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.415e-05/0.3876, allocations: 10.44 kB / 0.8246 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.3876, allocations: 5.984 kB / 0.8246 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3876, allocations: 7.266 kB / 0.8246 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.3877, allocations: 91.97 kB / 0.8247 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.3877, allocations: 0 / 0.8247 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000178/0.3879, allocations: 25.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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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 0.0001225/0.388, allocations: 101 kB / 0.8248 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.3883, allocations: 197.6 kB / 0.825 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3883, allocations: 4.062 kB / 0.825 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.3884, allocations: 36.16 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.0002027/0.3886, allocations: 16.77 kB / 0.8251 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.3889, allocations: 190.2 kB / 0.8252 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.014e-05/0.3889, allocations: 72.12 kB / 0.8253 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.389, allocations: 11.28 kB / 0.8253 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.389, allocations: 4 kB / 0.8253 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.002619/0.3916, allocations: 1.271 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.Edge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.313968580216169] Failed to read output from testmodel.py, exit status != 0: 0.3963181679137051 0.405436219 0.019687832000000002 Calling exit ...