Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7079/0.7079, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 69.2 kB / 0.5018 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3938, allocations: 80.19 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002893/0.3967, allocations: 2.037 MB / 0.5821 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007271/0.3975, allocations: 0.5325 MB / 0.5826 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.3975, allocations: 2.438 kB / 0.5826 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.3977, allocations: 22.84 kB / 0.5826 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.48e-05/0.3978, allocations: 41.5 kB / 0.5826 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.398, allocations: 57.98 kB / 0.5827 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.3982, allocations: 191.4 kB / 0.5829 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.3983, allocations: 67.73 kB / 0.583 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3984, allocations: 75.19 kB / 0.583 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.3986, allocations: 74.92 kB / 0.5831 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.3986, allocations: 14.31 kB / 0.5831 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/0.3986, allocations: 15.34 kB / 0.5831 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.3987, allocations: 35.98 kB / 0.5832 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.3988, allocations: 78.23 kB / 0.5832 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3989, allocations: 169.8 kB / 0.5834 GB, free: 2.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.399, allocations: 3.938 kB / 0.5834 GB, free: 2.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.399, allocations: 0 / 0.5834 GB, free: 2.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.399, allocations: 4 kB / 0.5834 GB, free: 2.297 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006509/0.3996, allocations: 490.8 kB / 0.5839 GB, free: 1.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.3997, allocations: 10.41 kB / 0.5839 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.3997, allocations: 22.27 kB / 0.5839 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3999, allocations: 217.9 kB / 0.5841 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/0.4, allocations: 45.7 kB / 0.5842 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.4, allocations: 13.06 kB / 0.5842 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.4004, allocations: 154 kB / 0.5843 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4004, allocations: 0.6094 kB / 0.5843 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.4004, allocations: 5.406 kB / 0.5843 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4004, allocations: 7.453 kB / 0.5843 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.4009, allocations: 147 kB / 0.5845 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006676/0.4016, allocations: 0.5297 MB / 0.585 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.402, allocations: 139.2 kB / 0.5851 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.4022, allocations: 79.14 kB / 0.5852 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.4022, allocations: 2.594 kB / 0.5852 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.4023, allocations: 35.36 kB / 0.5852 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.4023, allocations: 1.406 kB / 0.5852 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006842/0.403, allocations: 221.3 kB / 0.5854 GB, free: 0.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.403, allocations: 52.31 kB / 0.5855 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4031, allocations: 155.2 kB / 0.5856 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.4031, allocations: 27.11 kB / 0.5857 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.4032, allocations: 134.6 kB / 0.5858 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.4032, allocations: 41.12 kB / 0.5858 GB, free: 476 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.4033, allocations: 31.91 kB / 0.5859 GB, free: 448 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.4033, allocations: 322.5 kB / 0.5862 GB, free: 124 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.4035, allocations: 57.7 kB / 0.5862 GB, free: 112 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.4037, allocations: 92.08 kB / 0.5863 GB, free: 64 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.4041, allocations: 139 kB / 0.5864 GB, free: 8 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4041, allocations: 7.938 kB / 0.5865 GB, free: 0 / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000515/0.4047, allocations: 182.7 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4047, allocations: 9 kB / 0.5866 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4047, allocations: 1 kB / 0.5866 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4047, allocations: 2.031 kB / 0.5866 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.4049, allocations: 43.95 kB / 0.5867 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4049, allocations: 1.984 kB / 0.5867 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.4051, allocations: 26.69 kB / 0.5867 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.4051, allocations: 4.594 kB / 0.5867 GB, free: 15.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.667e-05/0.4052, allocations: 127 kB / 0.5868 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.4053, allocations: 14.11 kB / 0.5868 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.4053, allocations: 16.8 kB / 0.5869 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4053, allocations: 6.344 kB / 0.5869 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4053, allocations: 4 kB / 0.5869 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4053, allocations: 1.703 kB / 0.5869 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.4056, allocations: 246.1 kB / 0.5871 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4056, allocations: 0.7188 kB / 0.5871 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.4058, allocations: 36.48 kB / 0.5871 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4058, allocations: 1.953 kB / 0.5871 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4058, allocations: 0.5625 kB / 0.5871 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4058, allocations: 0.5625 kB / 0.5871 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4058, allocations: 5.734 kB / 0.5872 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.4066, allocations: 345.5 kB / 0.5875 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.4067, allocations: 84.94 kB / 0.5876 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.4067, allocations: 5.656 kB / 0.5876 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.4069, allocations: 20.7 kB / 0.5876 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.4069, allocations: 16.02 kB / 0.5876 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4069, allocations: 5.938 kB / 0.5876 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.668e-05/0.407, allocations: 114.3 kB / 0.5877 GB, free: 15.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.407, allocations: 0 / 0.5877 GB, free: 15.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.4073, allocations: 40.25 kB / 0.5878 GB, free: 15.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 9.6e-05/0.4074, allocations: 103.6 kB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.4079, allocations: 144.5 kB / 0.588 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4079, allocations: 0 / 0.588 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.4082, allocations: 81.84 kB / 0.5881 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.4085, allocations: 20.45 kB / 0.5881 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.4093, allocations: 395 kB / 0.5885 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4095, allocations: 0.7134 MB / 0.5892 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.4096, allocations: 13.16 kB / 0.5892 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.4097, allocations: 17.75 kB / 0.5892 GB, free: 13.98 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4097, allocations: 1.375 kB / 0.5892 GB, free: 13.98 MB / 446.1 MB Notification: Performance of Templates: time 0.004338/0.414, allocations: 1.578 MB / 0.5907 GB, free: 13.85 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)