Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset") translateModel(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 108.6 kB / 15.73 MB, free: 72 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.001296/0.001296, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.406/1.406, allocations: 222.9 MB / 240.3 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9667/0.9667, allocations: 135.1 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 55.91 kB / 0.5856 GB, free: 3.422 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5332, allocations: 80.92 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset): time 0.003887/0.5371, allocations: 2.845 MB / 0.6674 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00364/0.5408, allocations: 2.471 MB / 0.6698 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.541, allocations: 13.44 kB / 0.6698 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.5417, allocations: 176.8 kB / 0.67 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.5422, allocations: 297.5 kB / 0.6702 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.5434, allocations: 0.5705 MB / 0.6708 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.5447, allocations: 1.473 MB / 0.6722 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005924/0.5453, allocations: 484.4 kB / 0.6727 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006649/0.546, allocations: 0.5387 MB / 0.6732 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006421/0.5466, allocations: 0.5605 MB / 0.6738 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.5468, allocations: 133.6 kB / 0.6739 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.5473, allocations: 205.9 kB / 0.6741 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004193/0.5477, allocations: 497.4 kB / 0.6746 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.5482, allocations: 0.6349 MB / 0.6752 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.5502, allocations: 1.784 MB / 0.6769 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5502, allocations: 0 / 0.6769 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5502, allocations: 0 / 0.6769 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.5502, allocations: 1.188 kB / 0.6769 GB, free: 14.54 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.002753/0.553, allocations: 1.658 MB / 0.6786 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.5531, allocations: 9.531 kB / 0.6786 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.5534, allocations: 154.8 kB / 0.6787 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.5553, allocations: 1.161 MB / 0.6799 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.5554, allocations: 59.66 kB / 0.6799 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.5555, allocations: 85.66 kB / 0.68 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.5577, allocations: 1.409 MB / 0.6814 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.5578, allocations: 11.45 kB / 0.6814 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/0.5579, allocations: 36.25 kB / 0.6814 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.5579, allocations: 26.58 kB / 0.6814 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.5603, allocations: 1.514 MB / 0.6829 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005996/0.5663, allocations: 6.239 MB / 0.689 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.5692, allocations: 1.399 MB / 0.6904 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000717/0.57, allocations: 416.1 kB / 0.6908 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.5701, allocations: 70.97 kB / 0.6908 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.5713, allocations: 0.6778 MB / 0.6915 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 3.557e-06/0.5713, allocations: 1.375 kB / 0.6915 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.00373/0.5751, allocations: 1.562 MB / 0.693 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002954/0.5754, allocations: 409 kB / 0.6934 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.5776, allocations: 1.143 MB / 0.6945 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.5778, allocations: 78.81 kB / 0.6946 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006268/0.5784, allocations: 0.6031 MB / 0.6952 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.5788, allocations: 364 kB / 0.6955 GB, free: 444 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.5792, allocations: 235 kB / 0.6958 GB, free: 316 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.5794, allocations: 356 kB / 0.6961 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008501/0.5802, allocations: 454.8 kB / 0.6965 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.5815, allocations: 0.8814 MB / 0.6974 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/0.5836, allocations: 1.388 MB / 0.6988 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.5836, allocations: 8 kB / 0.6988 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00291/0.5865, allocations: 1.66 MB / 0.7004 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.5865, allocations: 12 kB / 0.7004 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.5866, allocations: 12 kB / 0.7004 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/0.5866, allocations: 23.94 kB / 0.7004 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.5874, allocations: 279.6 kB / 0.7007 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/0.5874, allocations: 28 kB / 0.7007 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.5882, allocations: 131.6 kB / 0.7009 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.5883, allocations: 71.97 kB / 0.7009 GB, free: 11.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.strobe.tabQCon.nextTimeEvent,$whenCondition7,strobe.tabQCon.nextTimeEventScaled,$PRE.strobe.tabQCon.nextTimeEventScaled,strobe.tabQCon.nextTimeEvent,$PRE.strobe.tabQRad.nextTimeEvent,$whenCondition6,strobe.tabQRad.nextTimeEventScaled,$PRE.strobe.tabQRad.nextTimeEventScaled,strobe.tabQRad.nextTimeEvent,$PRE.strobe.tabTSet.nextTimeEvent,$whenCondition5,strobe.tabTSet.nextTimeEventScaled,$PRE.strobe.tabTSet.nextTimeEventScaled,strobe.tabTSet.nextTimeEvent,$PRE.strobe.tabP.nextTimeEvent,$whenCondition4,strobe.tabP.nextTimeEventScaled,$PRE.strobe.tabP.nextTimeEventScaled,strobe.tabP.nextTimeEvent,$PRE.strobe.tabQ.nextTimeEvent,$whenCondition3,strobe.tabQ.nextTimeEventScaled,$PRE.strobe.tabQ.nextTimeEventScaled,strobe.tabQ.nextTimeEvent,$PRE.strobe.tabDHW.nextTimeEvent,$whenCondition2,strobe.tabDHW.nextTimeEventScaled,$PRE.strobe.tabDHW.nextTimeEventScaled,strobe.tabDHW.nextTimeEvent,$PRE.strobe.tabTSet2.nextTimeEvent,$whenCondition1,strobe.tabTSet2.nextTimeEventScaled,$PRE.strobe.tabTSet2.nextTimeEventScaled,strobe.tabTSet2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0009448/0.5892, allocations: 468 kB / 0.7014 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.5895, allocations: 139 kB / 0.7015 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.5899, allocations: 181.5 kB / 0.7017 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.59, allocations: 15.94 kB / 0.7017 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/0.59, allocations: 0 / 0.7017 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.59, allocations: 7.984 kB / 0.7017 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.5914, allocations: 1.102 MB / 0.7028 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5914, allocations: 7.938 kB / 0.7028 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.5918, allocations: 151.8 kB / 0.7029 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.5918, allocations: 4 kB / 0.7029 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/0.5919, allocations: 39.97 kB / 0.703 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.5919, allocations: 11.94 kB / 0.703 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5919, allocations: 4 kB / 0.703 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.594, allocations: 1.306 MB / 0.7043 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.5942, allocations: 204.1 kB / 0.7045 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.5944, allocations: 52 kB / 0.7045 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.5947, allocations: 43.91 kB / 0.7045 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.5949, allocations: 79.89 kB / 0.7046 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.269e-05/0.595, allocations: 51.97 kB / 0.7047 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00104/0.596, allocations: 0.7907 MB / 0.7054 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.596, allocations: 3.938 kB / 0.7054 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009462/0.597, allocations: 255.6 kB / 0.7057 GB, free: 6.297 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition7,strobe.tabQCon.nextTimeEvent,strobe.tabQCon.nextTimeEventScaled,$whenCondition6,strobe.tabQRad.nextTimeEvent,strobe.tabQRad.nextTimeEventScaled,$whenCondition5,strobe.tabTSet.nextTimeEvent,strobe.tabTSet.nextTimeEventScaled,$whenCondition4,strobe.tabP.nextTimeEvent,strobe.tabP.nextTimeEventScaled,$whenCondition3,strobe.tabQ.nextTimeEvent,strobe.tabQ.nextTimeEventScaled,$whenCondition2,strobe.tabDHW.nextTimeEvent,strobe.tabDHW.nextTimeEventScaled,$whenCondition1,strobe.tabTSet2.nextTimeEvent,strobe.tabTSet2.nextTimeEventScaled) * Number of discrete states: 14 (strobe.tabTSet2.nextTimeEventScaled,strobe.tabTSet2.nextTimeEvent,strobe.tabDHW.nextTimeEventScaled,strobe.tabDHW.nextTimeEvent,strobe.tabQ.nextTimeEventScaled,strobe.tabQ.nextTimeEvent,strobe.tabP.nextTimeEventScaled,strobe.tabP.nextTimeEvent,strobe.tabTSet.nextTimeEventScaled,strobe.tabTSet.nextTimeEvent,strobe.tabQRad.nextTimeEventScaled,strobe.tabQRad.nextTimeEvent,strobe.tabQCon.nextTimeEventScaled,strobe.tabQCon.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001257/0.5982, allocations: 0.5166 MB / 0.7062 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.6002, allocations: 1.102 MB / 0.7073 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6002, allocations: 4 kB / 0.7073 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008905/0.6011, allocations: 498.2 kB / 0.7077 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.6022, allocations: 262 kB / 0.708 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.6058, allocations: 2.235 MB / 0.7102 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/0.6066, allocations: 1.202 MB / 0.7114 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009436/0.6076, allocations: 441.8 kB / 0.7118 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.608, allocations: 183.4 kB / 0.7119 GB, free: 15.98 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.608, allocations: 4 kB / 0.712 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Templates: time 0.02906/0.6371, allocations: 15.55 MB / 0.7271 GB, free: 0.6016 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.Examples.StrobeInfoManager_offset.pipe 2>&1)