Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007593/0.0007594, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006394/0.006394, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 8.031 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3912, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.0009885/0.3923, allocations: 433.2 kB / 1.075 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.3932, allocations: 0.8273 MB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.3933, allocations: 0 / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.3933, allocations: 0 / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.328e-05/0.3934, allocations: 7.922 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.3935, allocations: 19.98 kB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.3936, allocations: 39.86 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3937, allocations: 23.97 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.01e-05/0.3938, allocations: 11.94 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.3939, allocations: 27.89 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.3939, allocations: 0 / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.3939, allocations: 0 / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.3939, allocations: 4 kB / 1.076 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.394, allocations: 45.56 kB / 1.076 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.236e-05/0.394, allocations: 35.86 kB / 1.076 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3941, allocations: 4 kB / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3941, allocations: 0 / 1.076 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.3941, allocations: 0 / 1.076 GB, free: 6.055 MB / 0.8262 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.0006045/0.3947, allocations: 383.7 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3947, allocations: 12.03 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.3948, allocations: 12.86 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3949, allocations: 176.2 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3949, allocations: 8.312 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3949, allocations: 4.375 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3951, allocations: 66.23 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3952, allocations: 4.172 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3952, allocations: 7.938 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3952, allocations: 0 / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.3954, allocations: 51.97 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.3959, allocations: 304.6 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.3962, allocations: 58.66 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3963, allocations: 36.83 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3963, allocations: 0 / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3963, allocations: 42.5 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3963, allocations: 0 / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003747/0.3967, allocations: 101.6 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.3968, allocations: 55.41 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.3969, allocations: 113.8 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3969, allocations: 33.7 kB / 1.077 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.3969, allocations: 88.05 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.3969, allocations: 3.906 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.397, allocations: 13.72 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3971, allocations: 322.8 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.742e-05/0.3972, allocations: 27.98 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.3973, allocations: 31.91 kB / 1.077 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3975, allocations: 52.83 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3975, allocations: 0 / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002238/0.3977, allocations: 85.98 kB / 1.078 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3977, allocations: 4 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3977, allocations: 0 / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.3978, allocations: 4 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.99e-05/0.3978, allocations: 19.98 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3978, allocations: 0 / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.398, allocations: 23.91 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.398, allocations: 4.375 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.838e-05/0.3981, allocations: 121.7 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.3981, allocations: 11.91 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3984, allocations: 85.55 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3984, allocations: 3.938 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3984, allocations: 8 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3984, allocations: 0 / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.3986, allocations: 173.7 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3986, allocations: 0 / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.384e-05/0.3986, allocations: 11.98 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3986, allocations: 0 / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3987, allocations: 0 / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3987, allocations: 3.938 kB / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3987, allocations: 0 / 1.078 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3989, allocations: 195.3 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.399, allocations: 77.11 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.399, allocations: 4 kB / 1.078 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3992, allocations: 23.98 kB / 1.078 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.3992, allocations: 7.984 kB / 1.078 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3992, allocations: 4 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.3993, allocations: 87.27 kB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3993, allocations: 4 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000211/0.3995, allocations: 4 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001046/0.3996, allocations: 99.25 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.3999, allocations: 63.89 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3999, allocations: 0 / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4, allocations: 31.97 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.4003, allocations: 14.33 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.4006, allocations: 138.7 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4009, allocations: 0.6848 MB / 1.079 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.4009, allocations: 4 kB / 1.079 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.4009, allocations: 11.44 kB / 1.079 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4009, allocations: 0 / 1.079 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.002876/0.4038, allocations: 0.6548 MB / 1.08 GB, free: 1.047 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)