Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001302/0.001302, allocations: 104 kB / 16.36 MB, free: 6.301 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.001179/0.001179, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002266, allocations: 71.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2222, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002167/0.2244, allocations: 0.7175 MB / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.2254, allocations: 0.8282 MB / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.2255, allocations: 0 / 0.7863 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.2255, allocations: 11.88 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.2256, allocations: 3.938 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.2258, allocations: 15.97 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.2259, allocations: 43.91 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.226, allocations: 12 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.2261, allocations: 15.92 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.2261, allocations: 23.92 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2262, allocations: 7.984 kB / 0.7864 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.2262, allocations: 8 kB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.2262, allocations: 7.984 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.2262, allocations: 19.86 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.937e-05/0.2263, allocations: 43.88 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.2264, allocations: 3.938 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.624e-06/0.2264, allocations: 3.938 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2264, allocations: 0 / 0.7865 GB, free: 1.352 MB / 0.6544 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.000682/0.2271, allocations: 387.3 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2271, allocations: 8.031 kB / 0.7869 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.2271, allocations: 8.844 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2273, allocations: 168.3 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2273, allocations: 4.375 kB / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.2273, allocations: 384 / 0.7871 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.2275, allocations: 70.22 kB / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.2276, allocations: 192 / 0.7871 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2276, allocations: 3.938 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2276, allocations: 0 / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.2278, allocations: 47.89 kB / 0.7872 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.2283, allocations: 300.7 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.2286, allocations: 46.61 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.2287, allocations: 24.94 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.2287, allocations: 4 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2287, allocations: 50.48 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2288, allocations: 0 / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.3662/0.595, allocations: 87.28 kB / 0.7877 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.5951, allocations: 51.41 kB / 0.7877 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.5952, allocations: 112.1 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.5952, allocations: 27.95 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.5952, allocations: 87.92 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.5953, allocations: 7.469 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.5953, allocations: 19.47 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.5954, allocations: 320.6 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.5955, allocations: 23.75 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.214e-05/0.5956, allocations: 18.67 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.5958, allocations: 45.2 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5958, allocations: 0.6875 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000224/0.596, allocations: 82.52 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.596, allocations: 3.312 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.596, allocations: 0 / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.5961, allocations: 2.844 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.5961, allocations: 13.05 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5962, allocations: 0 / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.5963, allocations: 23.06 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.5963, allocations: 0.5625 kB / 0.7885 GB, free: 48.32 MB / 0.6544 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 5.681e-05/0.5964, allocations: 119.7 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.5964, allocations: 9.922 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.5966, allocations: 86.83 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5966, allocations: 0 / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5966, allocations: 2.688 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5967, allocations: 0 / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.5968, allocations: 168.4 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5968, allocations: 2.062 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.5969, allocations: 9.812 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5969, allocations: 0 / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.5969, allocations: 6.781 kB / 0.7889 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5969, allocations: 0 / 0.7889 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.5969, allocations: 3.188 kB / 0.7889 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.5971, allocations: 174.8 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.5971, allocations: 81.02 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.5971, allocations: 3.938 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.5973, allocations: 18.2 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.5973, allocations: 11.86 kB / 0.7891 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.5973, allocations: 0.6875 kB / 0.7892 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.986e-05/0.5974, allocations: 93.02 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5974, allocations: 0 / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002257/0.5976, allocations: 5.625 kB / 0.7892 GB, free: 47.67 MB / 0.6544 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.0001021/0.5977, allocations: 102.2 kB / 0.7893 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.598, allocations: 51.72 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.598, allocations: 0 / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.5981, allocations: 26.12 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.5984, allocations: 10.75 kB / 0.7894 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.5987, allocations: 147.2 kB / 0.7896 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.5988, allocations: 0.6845 MB / 0.7902 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.5988, allocations: 12.25 kB / 0.7902 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.5988, allocations: 0 / 0.7902 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.002015/0.6009, allocations: 0.7771 MB / 0.791 GB, free: 46.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)