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.001411/0.001411, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00146/0.00146, allocations: 196.5 kB / 16.91 MB, free: 6.195 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.419/1.419, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.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.738/1.738, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001426/0.001426, allocations: 70.64 kB / 0.6717 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2556, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002026/0.2576, allocations: 0.7784 MB / 0.7843 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009332/0.2586, allocations: 0.8254 MB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.2587, allocations: 3.938 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/0.2587, allocations: 7.922 kB / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.2588, allocations: 0 / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.259, allocations: 31.91 kB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.777e-05/0.2591, allocations: 35.92 kB / 0.7852 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2592, allocations: 15.98 kB / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.2592, allocations: 15.94 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.2593, allocations: 23.91 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2593, allocations: 4 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.2593, allocations: 4 kB / 0.7852 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.2594, allocations: 11.92 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.2594, allocations: 27.86 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.343e-05/0.2595, allocations: 27.94 kB / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2595, allocations: 0 / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2595, allocations: 0 / 0.7853 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2595, allocations: 0 / 0.7853 GB, free: 12.06 MB / 0.6075 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.0006797/0.2602, allocations: 383.6 kB / 0.7857 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2602, allocations: 12.03 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.2603, allocations: 4.844 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2604, allocations: 172.2 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2604, allocations: 384 / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.2605, allocations: 4.375 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.2607, allocations: 70.14 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2607, allocations: 192 / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.2607, allocations: 15.94 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.2607, allocations: 0 / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.2609, allocations: 47.89 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.2614, allocations: 296.8 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.2617, allocations: 54.48 kB / 0.7863 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.2618, allocations: 25 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.2619, allocations: 0 / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2619, allocations: 34.56 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.2619, allocations: 4 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003575/0.2623, allocations: 97.47 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.2623, allocations: 51.41 kB / 0.7865 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/0.2624, allocations: 113.8 kB / 0.7866 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2624, allocations: 25.7 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.2625, allocations: 84.14 kB / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.2625, allocations: 11.91 kB / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.2625, allocations: 21.7 kB / 0.7868 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2627, allocations: 318.8 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.2628, allocations: 23.97 kB / 0.7871 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/0.2629, allocations: 19.98 kB / 0.7871 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.263, allocations: 41.2 kB / 0.7871 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.263, allocations: 0 / 0.7871 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002064/0.2632, allocations: 85.77 kB / 0.7872 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2633, allocations: 8 kB / 0.7872 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2633, allocations: 3.938 kB / 0.7872 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.2633, allocations: 4.031 kB / 0.7872 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.2634, allocations: 4 kB / 0.7872 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.2634, allocations: 4 kB / 0.7873 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2635, allocations: 27.91 kB / 0.7873 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.2635, allocations: 0 / 0.7873 GB, free: 9.809 MB / 0.6075 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.0001001/0.2636, allocations: 114.4 kB / 0.7874 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.2636, allocations: 0 / 0.7874 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.2639, allocations: 89.48 kB / 0.7875 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2639, allocations: 0 / 0.7875 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2639, allocations: 4 kB / 0.7875 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2639, allocations: 0 / 0.7875 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.2641, allocations: 177.5 kB / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2641, allocations: 0 / 0.7876 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.2642, allocations: 11.94 kB / 0.7877 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2642, allocations: 0 / 0.7877 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2642, allocations: 3.984 kB / 0.7877 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2642, allocations: 0 / 0.7877 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2642, allocations: 0 / 0.7877 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.2645, allocations: 171.5 kB / 0.7878 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.2645, allocations: 81.02 kB / 0.7879 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2645, allocations: 0 / 0.7879 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.2647, allocations: 23.97 kB / 0.7879 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.2647, allocations: 7.938 kB / 0.7879 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2648, allocations: 11.98 kB / 0.7879 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.2648, allocations: 87.28 kB / 0.788 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2648, allocations: 0 / 0.788 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002138/0.265, allocations: 4 kB / 0.788 GB, free: 8.93 MB / 0.6075 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.0001338/0.2652, allocations: 103.2 kB / 0.7881 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.2654, allocations: 43.97 kB / 0.7882 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2654, allocations: 0 / 0.7882 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.2655, allocations: 31.91 kB / 0.7882 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2658, allocations: 16.16 kB / 0.7882 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.2662, allocations: 163.1 kB / 0.7884 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2665, allocations: 0.6846 MB / 0.789 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.2665, allocations: 11.44 kB / 0.7891 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2665, allocations: 0 / 0.7891 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of Templates: time 0.002008/0.2685, allocations: 0.781 MB / 0.7898 GB, free: 7.039 MB / 0.6075 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)