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.001371/0.001371, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00158/0.00158, allocations: 173 kB / 23.49 MB, free: 1.059 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.9978/0.9978, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8505/0.8505, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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 1.954e-06/1.954e-06, allocations: 0 / 0.5203 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.736e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001467/0.001495, allocations: 0.7231 MB / 0.5211 GB, free: 1.809 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.002891, allocations: 1.194 MB / 0.5222 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.002941, allocations: 1.281 kB / 0.5222 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.002971, allocations: 11.92 kB / 0.5222 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.003039, allocations: 7.875 kB / 0.5222 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.003474, allocations: 140.6 kB / 0.5224 GB, free: 456 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.003626, allocations: 112.8 kB / 0.5225 GB, free: 344 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.003722, allocations: 15.97 kB / 0.5225 GB, free: 328 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.00383, allocations: 63.89 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.003907, allocations: 41.14 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.003931, allocations: 12 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.003988, allocations: 23.94 kB / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.004011, allocations: 17.7 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.004063, allocations: 39.89 kB / 0.5227 GB, free: 132 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.004211, allocations: 87.81 kB / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004213, allocations: 0 / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004214, allocations: 0 / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004218, allocations: 1.812 kB / 0.5228 GB, free: 44 kB / 490.7 MB 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.0004682/0.004686, allocations: 426.3 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.004726, allocations: 12.03 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.004781, allocations: 12.83 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.004871, allocations: 122.1 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.004888, allocations: 12.36 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.004904, allocations: 8.375 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.005041, allocations: 62.94 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.00505, allocations: 4.922 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.00506, allocations: 384 / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.005068, allocations: 5.781 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.673e-05/0.005105, allocations: 11.92 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.005491, allocations: 315.6 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.914e-05/0.005591, allocations: 44.45 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.005619, allocations: 15.69 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.005628, allocations: 1.188 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.005735, allocations: 93.09 kB / 0.5239 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.005736, allocations: 4 kB / 0.5239 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001993/0.005936, allocations: 92.41 kB / 0.524 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.005968, allocations: 51.41 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.00605, allocations: 180.8 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.006069, allocations: 33.7 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.006126, allocations: 142.8 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.006144, allocations: 19.89 kB / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.006195, allocations: 43.36 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.006302, allocations: 0.4888 MB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.006378, allocations: 61.69 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/0.006463, allocations: 108.7 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.006568, allocations: 126.9 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.006571, allocations: 4 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002153/0.006786, allocations: 209.9 kB / 0.5254 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.006816, allocations: 41.62 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006821, allocations: 0.9375 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.006836, allocations: 4 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.006907, allocations: 15.98 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.006913, allocations: 3.156 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.344e-05/0.006996, allocations: 19.98 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.007012, allocations: 11.98 kB / 0.5255 GB, free: 13 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.72e-05/0.007089, allocations: 170.2 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.007104, allocations: 15.89 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.007127, allocations: 11.22 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007129, allocations: 0 / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.007132, allocations: 0 / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007135, allocations: 0 / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.007377, allocations: 345.3 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007379, allocations: 0 / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.007407, allocations: 7.984 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.007409, allocations: 4 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.007417, allocations: 5.312 kB / 0.526 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007419, allocations: 0 / 0.526 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00742, allocations: 0 / 0.526 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.007545, allocations: 228.3 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.007552, allocations: 4 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.00757, allocations: 6 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.007608, allocations: 7.938 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.007644, allocations: 7.984 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.007651, allocations: 3.984 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.007692, allocations: 131.2 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007692, allocations: 2.438 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001741/0.007866, allocations: 24 kB / 0.5264 GB, free: 11.98 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.0001143/0.007981, allocations: 107.2 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.008172, allocations: 171 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.008174, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.008212, allocations: 27.67 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.008415, allocations: 27.98 kB / 0.5267 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.008703, allocations: 163.8 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.008742, allocations: 61.78 kB / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.008765, allocations: 4 kB / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.008789, allocations: 12.5 kB / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.00879, allocations: 0 / 0.5269 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.003423/0.01221, allocations: 1.574 MB / 0.5285 GB, free: 9.863 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.8581881660502404]