Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001021/0.001021, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009888/0.0009888, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9555/0.9555, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7531/0.7531, allocations: 154.6 MB / 415.6 MB, free: 0.5469 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.604e-06/2.604e-06, allocations: 0 / 0.5215 GB, free: 1.902 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.907e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001551/0.00158, allocations: 0.7228 MB / 0.5223 GB, free: 1.199 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.003131, allocations: 1.207 MB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.003186, allocations: 0 / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.003215, allocations: 3.938 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.583e-05/0.003291, allocations: 12.44 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.003779, allocations: 129.4 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.003962, allocations: 123.7 kB / 0.5237 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.004066, allocations: 15.97 kB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.004193, allocations: 69.78 kB / 0.5238 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.004281, allocations: 31.95 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.004304, allocations: 8 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.00437, allocations: 23.97 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.004397, allocations: 15.92 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.004437, allocations: 29.45 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.004615, allocations: 103.7 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.004618, allocations: 0 / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.004619, allocations: 0 / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.004626, allocations: 0.9688 kB / 0.524 GB, free: 15.43 MB / 0.4948 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.0005262/0.005152, allocations: 434.1 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.005199, allocations: 9 kB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.00525, allocations: 12.89 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.922e-05/0.005349, allocations: 113.6 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.005369, allocations: 8.375 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.005384, allocations: 4.375 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005509, allocations: 63.84 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.005517, allocations: 192 / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.00553, allocations: 12.86 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.005538, allocations: 8.312 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.315e-05/0.005571, allocations: 8.969 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.005956, allocations: 292.4 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.006069, allocations: 52.27 kB / 0.5249 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.00609, allocations: 17.45 kB / 0.525 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.006098, allocations: 0 / 0.525 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/0.006208, allocations: 69.03 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.006209, allocations: 0 / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001913/0.0064, allocations: 101.8 kB / 0.5251 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.006437, allocations: 53.22 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.006527, allocations: 181.9 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.006546, allocations: 29.7 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.00661, allocations: 146.8 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.006635, allocations: 15.89 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.006701, allocations: 48.94 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.00683, allocations: 0.4884 MB / 0.5261 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.00689, allocations: 53.69 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.00696, allocations: 104.1 kB / 0.5262 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.164e-05/0.007052, allocations: 118.2 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007054, allocations: 0 / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002054/0.00726, allocations: 198.3 kB / 0.5265 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.007287, allocations: 33.7 kB / 0.5265 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.007294, allocations: 8.969 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.007303, allocations: 0 / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.007369, allocations: 15.92 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.007372, allocations: 0.9375 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.007455, allocations: 27.05 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.007472, allocations: 11.98 kB / 0.5266 GB, free: 12.46 MB / 0.4948 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 7.801e-05/0.00755, allocations: 168.5 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.007566, allocations: 11.95 kB / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.007589, allocations: 16.31 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007591, allocations: 0 / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.007594, allocations: 4 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.007598, allocations: 10.72 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.007832, allocations: 310 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.007834, allocations: 0 / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.007867, allocations: 7.938 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.00787, allocations: 3.938 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.007876, allocations: 3.984 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.007879, allocations: 4 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007881, allocations: 1.312 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.007995, allocations: 223.9 kB / 0.5273 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.008004, allocations: 4 kB / 0.5273 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.008019, allocations: 8.5 kB / 0.5273 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.611e-05/0.008055, allocations: 8.656 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.008086, allocations: 7.984 kB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.008093, allocations: 0.8438 kB / 0.5274 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.00814, allocations: 131.2 kB / 0.5275 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.00814, allocations: 0.5 kB / 0.5275 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000174/0.008314, allocations: 24 kB / 0.5275 GB, free: 11.47 MB / 0.4948 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.0001157/0.00843, allocations: 111.3 kB / 0.5276 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.008602, allocations: 170 kB / 0.5278 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008604, allocations: 0 / 0.5278 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.121e-05/0.008635, allocations: 23.67 kB / 0.5278 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.008833, allocations: 17.55 kB / 0.5278 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.009093, allocations: 169.4 kB / 0.528 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.009125, allocations: 59.34 kB / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.324e-05/0.009149, allocations: 4 kB / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.009233, allocations: 98.06 kB / 0.5281 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.009233, allocations: 0 / 0.5281 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.003924/0.01316, allocations: 1.744 MB / 0.5298 GB, free: 9.125 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.484018316026777]