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.001122/0.001122, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001668/0.00279, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001138/0.001138, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002574, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0957/1.143, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.8063/0.8063, allocations: 154.6 MB / 398.5 MB, free: 0.5117 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2622/1.069, allocations: 49.04 MB / 447.6 MB, free: 6.676 MB / 426.7 MB " [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.174e-06/2.174e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.089e-05, allocations: 2.312 kB / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001405/0.001425, allocations: 0.7792 MB / 449.7 MB, free: 4.652 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.002532, allocations: 1.203 MB / 450.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.002573, allocations: 0 / 450.9 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002599, allocations: 3.938 kB / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.327e-05/0.002652, allocations: 15.42 kB / 450.9 MB, free: 3.422 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.002953, allocations: 122.3 kB / 451 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.003108, allocations: 123.4 kB / 451.1 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.333e-05/0.003182, allocations: 7.984 kB / 451.1 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.003296, allocations: 83.23 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.003378, allocations: 39.73 kB / 451.3 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.003401, allocations: 11.94 kB / 451.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.003475, allocations: 25.31 kB / 451.3 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.003497, allocations: 9.516 kB / 451.3 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.00354, allocations: 30.55 kB / 451.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.003688, allocations: 67.88 kB / 451.4 MB, free: 2.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.638e-05/0.003704, allocations: 1.594 kB / 451.4 MB, free: 2.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.003705, allocations: 0 / 451.4 MB, free: 2.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.003724, allocations: 3.938 kB / 451.4 MB, free: 2.938 MB / 426.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.0004938/0.004218, allocations: 316.2 kB / 451.7 MB, free: 2.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.004249, allocations: 8.938 kB / 451.7 MB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.004286, allocations: 12.94 kB / 451.7 MB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.961e-05/0.004366, allocations: 123.5 kB / 451.9 MB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.004377, allocations: 4.375 kB / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.004392, allocations: 8.375 kB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.004493, allocations: 62.94 kB / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.004502, allocations: 1.031 kB / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.00451, allocations: 1.25 kB / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004515, allocations: 384 / 451.9 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.666e-05/0.004552, allocations: 17.2 kB / 451.9 MB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.004856, allocations: 176.2 kB / 452.1 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.004942, allocations: 41.03 kB / 452.2 MB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.004961, allocations: 9.922 kB / 452.2 MB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.004969, allocations: 4 kB / 452.2 MB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.005071, allocations: 75.48 kB / 452.2 MB, free: 2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.005073, allocations: 0.9062 kB / 452.2 MB, free: 2 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001366/0.00521, allocations: 73.59 kB / 452.3 MB, free: 1.922 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.005246, allocations: 56.72 kB / 452.4 MB, free: 1.855 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.305e-05/0.005309, allocations: 125.9 kB / 452.5 MB, free: 1.723 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.005329, allocations: 29.7 kB / 452.5 MB, free: 1.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.005367, allocations: 100.1 kB / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.005381, allocations: 8.562 kB / 452.6 MB, free: 1.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.005431, allocations: 42.91 kB / 452.7 MB, free: 1.531 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.005514, allocations: 318.8 kB / 453 MB, free: 1.211 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.005566, allocations: 57.62 kB / 453 MB, free: 1.148 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.005626, allocations: 93.89 kB / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.005706, allocations: 100.1 kB / 453.2 MB, free: 0.918 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.005709, allocations: 0 / 453.2 MB, free: 0.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001416/0.00585, allocations: 183.2 kB / 453.4 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.005883, allocations: 33.7 kB / 453.4 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005888, allocations: 0 / 453.4 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.005897, allocations: 3.938 kB / 453.4 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.005968, allocations: 21.48 kB / 453.5 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.005971, allocations: 0 / 453.5 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.006053, allocations: 27.92 kB / 453.5 MB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.006065, allocations: 4.688 kB / 453.5 MB, free: 0.6289 MB / 426.7 MB 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.555e-05/0.00613, allocations: 126.8 kB / 453.6 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.00614, allocations: 7.984 kB / 453.6 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.006163, allocations: 9.062 kB / 453.6 MB, free: 492 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.006169, allocations: 7.938 kB / 453.6 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.00617, allocations: 3.312 kB / 453.6 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.006174, allocations: 0 / 453.6 MB, free: 484 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.006352, allocations: 218.8 kB / 453.9 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.006354, allocations: 0.6094 kB / 453.9 MB, free: 240 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.00638, allocations: 4 kB / 453.9 MB, free: 236 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.006388, allocations: 11.89 kB / 453.9 MB, free: 224 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.00639, allocations: 0 / 453.9 MB, free: 224 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.006396, allocations: 3.984 kB / 453.9 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006397, allocations: 0.5625 kB / 453.9 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.006399, allocations: 4 kB / 453.9 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.397e-05/0.006493, allocations: 156.7 kB / 454 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.006509, allocations: 3.938 kB / 454 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.006547, allocations: 5.828 kB / 454 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.006578, allocations: 8.734 kB / 454.1 MB, free: 28 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.006584, allocations: 7.938 kB / 454.1 MB, free: 20 kB / 426.7 MB Notification: Performance of sorting global known variables: time 3.146e-05/0.006615, allocations: 21.33 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006615, allocations: 0.6875 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001491/0.006764, allocations: 20 kB / 454.1 MB, free: 15.97 MB / 442.7 MB 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.0001033/0.006868, allocations: 85.55 kB / 454.2 MB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.007019, allocations: 155.1 kB / 454.3 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.007023, allocations: 0 / 454.3 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.007055, allocations: 30.25 kB / 454.4 MB, free: 15.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.007194, allocations: 21.78 kB / 454.4 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.007622, allocations: 173.1 kB / 454.6 MB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.322e-05/0.007655, allocations: 59.34 kB / 454.6 MB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.007682, allocations: 4.906 kB / 454.6 MB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.007758, allocations: 68.36 kB / 454.7 MB, free: 15.32 MB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007759, allocations: 0 / 454.7 MB, free: 15.32 MB / 442.7 MB Notification: Performance of Templates: time 0.003182/0.01094, allocations: 1.698 MB / 456.4 MB, free: 13.74 MB / 442.7 MB " [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.5865178192034364]