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.0007359/0.0007359, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007143/0.0007143, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8136/0.8136, allocations: 177.1 MB / 203.5 MB, free: 5.586 MB / 186.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.6518/0.6518, allocations: 154.5 MB / 414.5 MB, free: 0.7578 MB / 378.7 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 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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.024e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001152/0.001173, allocations: 0.7301 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002219, allocations: 1.166 MB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.002264, allocations: 7.938 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.002289, allocations: 7.938 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.002346, allocations: 7.875 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.002706, allocations: 141.5 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.002834, allocations: 111.8 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.00292, allocations: 15.92 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.00301, allocations: 59.95 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.003081, allocations: 43.86 kB / 0.6215 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.0031, allocations: 12 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.893e-05/0.003149, allocations: 27.94 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.00317, allocations: 11.98 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.003216, allocations: 39.89 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.003369, allocations: 131.6 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003372, allocations: 4 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003373, allocations: 0 / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003377, allocations: 0 / 0.6217 GB, free: 10.7 MB / 0.5886 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.000415/0.003791, allocations: 327.8 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.003823, allocations: 13.47 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.003865, allocations: 8.922 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.142e-05/0.003937, allocations: 117.7 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.00395, allocations: 8.375 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.003965, allocations: 8.375 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.004086, allocations: 62.22 kB / 0.6223 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004094, allocations: 4.125 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.004101, allocations: 384 / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.004106, allocations: 4.375 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.004198, allocations: 47.83 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.004782, allocations: 260.5 kB / 0.6226 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.004903, allocations: 54.48 kB / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.004956, allocations: 37.02 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.004966, allocations: 0 / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.005093, allocations: 91.3 kB / 0.6227 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.005094, allocations: 0 / 0.6227 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002595/0.005354, allocations: 145.5 kB / 0.6229 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.005384, allocations: 55.41 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.005446, allocations: 121.8 kB / 0.623 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.005462, allocations: 29.64 kB / 0.6231 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.005504, allocations: 92.09 kB / 0.6232 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.005525, allocations: 27.89 kB / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.00557, allocations: 37.7 kB / 0.6232 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.005644, allocations: 318.8 kB / 0.6235 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.642e-05/0.00574, allocations: 85.67 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.005846, allocations: 113.9 kB / 0.6237 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.005988, allocations: 137.9 kB / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005991, allocations: 0 / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002488/0.006239, allocations: 249.2 kB / 0.6241 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.006264, allocations: 37.62 kB / 0.6241 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.006271, allocations: 7.984 kB / 0.6241 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006282, allocations: 0 / 0.6241 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.006332, allocations: 11.98 kB / 0.6241 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.006338, allocations: 4 kB / 0.6241 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.006431, allocations: 36.09 kB / 0.6242 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.006445, allocations: 11.92 kB / 0.6242 GB, free: 7.938 MB / 0.5886 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 6.285e-05/0.006508, allocations: 121.4 kB / 0.6243 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.006517, allocations: 15.89 kB / 0.6243 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.006535, allocations: 4.438 kB / 0.6243 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.006537, allocations: 4 kB / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.006541, allocations: 4.062 kB / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006545, allocations: 0 / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.006809, allocations: 330 kB / 0.6246 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.006811, allocations: 3.984 kB / 0.6246 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.24e-05/0.006834, allocations: 4 kB / 0.6246 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006835, allocations: 0 / 0.6246 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.006843, allocations: 7.984 kB / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.006843, allocations: 0 / 0.6247 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006844, allocations: 3.938 kB / 0.6247 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.006995, allocations: 219.4 kB / 0.6249 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.007002, allocations: 7.891 kB / 0.6249 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.007014, allocations: 4 kB / 0.6249 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.007054, allocations: 7.984 kB / 0.6249 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.007086, allocations: 11.97 kB / 0.6249 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.007093, allocations: 7.984 kB / 0.6249 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.007123, allocations: 94.33 kB / 0.625 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007123, allocations: 0 / 0.625 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000158/0.007281, allocations: 20 kB / 0.625 GB, free: 7.023 MB / 0.5886 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 9.733e-05/0.007378, allocations: 103.2 kB / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.007597, allocations: 193 kB / 0.6253 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007599, allocations: 0 / 0.6253 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.944e-05/0.007658, allocations: 35.91 kB / 0.6253 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.007839, allocations: 20.17 kB / 0.6254 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.008095, allocations: 183.3 kB / 0.6255 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.008139, allocations: 71.33 kB / 0.6256 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.008162, allocations: 12.5 kB / 0.6256 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/0.008162, allocations: 0 / 0.6256 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of Templates: time 0.001744/0.009906, allocations: 1.272 MB / 0.6268 GB, free: 5.074 MB / 0.5886 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: 4.7446178095415235] Failed to read output from testmodel.py, exit status != 0: 0.013694754801690578 0.02138279899999994 0.01648981999999994 Calling exit ...