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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001677, allocations: 192.2 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 100.1 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3111, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.003039/0.3142, allocations: 0.7805 MB / 0.983 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3159, allocations: 0.836 MB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.316, allocations: 4 kB / 0.9838 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.902e-05/0.3161, allocations: 3.938 kB / 0.9838 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.965e-05/0.3162, allocations: 0 / 0.9838 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.3164, allocations: 15.98 kB / 0.9838 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3166, allocations: 39.86 kB / 0.9839 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.3167, allocations: 11.94 kB / 0.9839 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.3168, allocations: 23.91 kB / 0.9839 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.3169, allocations: 23.84 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.3169, allocations: 8 kB / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.3169, allocations: 0 / 0.9839 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.317, allocations: 8 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.317, allocations: 19.86 kB / 0.984 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.3172, allocations: 43.86 kB / 0.984 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3172, allocations: 0 / 0.984 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3172, allocations: 0 / 0.984 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.3172, allocations: 0 / 0.984 GB, free: 8.543 MB / 0.7136 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.0009079/0.3182, allocations: 383.6 kB / 0.9844 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.3182, allocations: 12.03 kB / 0.9844 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.3183, allocations: 0.9375 kB / 0.9844 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3185, allocations: 176.2 kB / 0.9846 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3185, allocations: 4.359 kB / 0.9846 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.3185, allocations: 8.375 kB / 0.9846 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.3188, allocations: 58.23 kB / 0.9846 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3188, allocations: 4.125 kB / 0.9846 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3189, allocations: 7.938 kB / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.3189, allocations: 4 kB / 0.9846 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.3191, allocations: 43.95 kB / 0.9847 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.3199, allocations: 292.8 kB / 0.985 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.3203, allocations: 54.48 kB / 0.985 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3204, allocations: 32.98 kB / 0.985 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.3204, allocations: 0 / 0.985 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3205, allocations: 30.56 kB / 0.9851 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3205, allocations: 0 / 0.9851 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000496/0.321, allocations: 89.55 kB / 0.9852 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.3211, allocations: 55.41 kB / 0.9852 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3212, allocations: 117.8 kB / 0.9853 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3212, allocations: 30.08 kB / 0.9854 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.3213, allocations: 88.12 kB / 0.9854 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.3213, allocations: 15.91 kB / 0.9854 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.3214, allocations: 13.72 kB / 0.9855 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3215, allocations: 330.7 kB / 0.9858 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3216, allocations: 19.98 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.904e-05/0.3218, allocations: 23.98 kB / 0.9858 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.322, allocations: 40.81 kB / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.322, allocations: 0 / 0.9859 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002619/0.3222, allocations: 81.5 kB / 0.9859 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3223, allocations: 4 kB / 0.9859 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3223, allocations: 4 kB / 0.9859 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3223, allocations: 0 / 0.9859 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.3224, allocations: 11.98 kB / 0.986 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3224, allocations: 0 / 0.986 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.3226, allocations: 23.92 kB / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3226, allocations: 4 kB / 0.986 GB, free: 6.293 MB / 0.7136 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 0.0001184/0.3227, allocations: 117.8 kB / 0.9861 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.3227, allocations: 3.906 kB / 0.9861 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.3231, allocations: 85.88 kB / 0.9862 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.3231, allocations: 8.031 kB / 0.9862 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3231, allocations: 3.938 kB / 0.9862 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3231, allocations: 0 / 0.9862 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3234, allocations: 169.6 kB / 0.9864 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3234, allocations: 0 / 0.9864 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.3234, allocations: 7.984 kB / 0.9864 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3235, allocations: 0 / 0.9864 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.3235, allocations: 8 kB / 0.9864 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3235, allocations: 0 / 0.9864 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3235, allocations: 0 / 0.9864 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008041/0.3243, allocations: 0.7317 MB / 0.9871 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.3244, allocations: 85.09 kB / 0.9872 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3244, allocations: 8 kB / 0.9872 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3246, allocations: 11.98 kB / 0.9872 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.3247, allocations: 11.92 kB / 0.9872 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3247, allocations: 0 / 0.9872 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.549e-05/0.3248, allocations: 91.27 kB / 0.9873 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.913e-06/0.3248, allocations: 288 / 0.9873 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004127/0.3252, allocations: 7.938 kB / 0.9873 GB, free: 4.805 MB / 0.7136 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.0001642/0.3254, allocations: 107.2 kB / 0.9874 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.3257, allocations: 55.83 kB / 0.9874 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3257, allocations: 0 / 0.9874 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3258, allocations: 23.98 kB / 0.9875 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.3262, allocations: 6.641 kB / 0.9875 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.3267, allocations: 246.2 kB / 0.9877 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.327, allocations: 0.6809 MB / 0.9884 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.3271, allocations: 0 / 0.9884 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.3271, allocations: 11.44 kB / 0.9884 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.3271, allocations: 4 kB / 0.9884 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of Templates: time 0.002771/0.3299, allocations: 0.6926 MB / 0.9891 GB, free: 2.922 MB / 0.7136 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)