Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.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.BoundaryConditions.Examples.StrobeInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager") translateModel(IDEAS.BoundaryConditions.Examples.StrobeInfoManager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006891/0.006891, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001464/0.001464, allocations: 199.7 kB / 16.68 MB, free: 5.969 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7531/0.7531, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 66.5 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1432, allocations: 80.2 MB / 0.6596 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.StrobeInfoManager): time 0.00356/0.1468, allocations: 2.86 MB / 0.6624 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.1501, allocations: 2.462 MB / 0.6648 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.1503, allocations: 19.81 kB / 0.6649 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.1507, allocations: 171 kB / 0.665 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005286/0.1513, allocations: 294.6 kB / 0.6653 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1523, allocations: 0.5714 MB / 0.6659 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1535, allocations: 1.466 MB / 0.6673 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.154, allocations: 485.5 kB / 0.6677 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.1545, allocations: 0.5415 MB / 0.6683 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.1551, allocations: 0.565 MB / 0.6688 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.1553, allocations: 132 kB / 0.669 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003033/0.1556, allocations: 208 kB / 0.6692 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.156, allocations: 495 kB / 0.6696 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.1565, allocations: 0.637 MB / 0.6702 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1579, allocations: 1.782 MB / 0.672 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1579, allocations: 3.984 kB / 0.672 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1579, allocations: 4 kB / 0.672 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.1579, allocations: 0 / 0.672 GB, free: 0.8125 MB / 0.4981 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.002167/0.1601, allocations: 1.645 MB / 0.6736 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1601, allocations: 8.031 kB / 0.6736 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.1604, allocations: 159.9 kB / 0.6738 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.1619, allocations: 1.166 MB / 0.6749 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.162, allocations: 62.38 kB / 0.675 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.1621, allocations: 80.12 kB / 0.675 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.1638, allocations: 1.408 MB / 0.6764 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.1639, allocations: 7.938 kB / 0.6764 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.164, allocations: 39.94 kB / 0.6765 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.164, allocations: 27.98 kB / 0.6765 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.1659, allocations: 1.513 MB / 0.678 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00446/0.1704, allocations: 6.242 MB / 0.6841 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.1729, allocations: 1.396 MB / 0.6854 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006122/0.1735, allocations: 421.8 kB / 0.6858 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/0.1736, allocations: 59.92 kB / 0.6859 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.1746, allocations: 0.6877 MB / 0.6866 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 2.575e-06/0.1746, allocations: 0 / 0.6866 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.002677/0.1773, allocations: 1.563 MB / 0.6881 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.1775, allocations: 409.5 kB / 0.6885 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.1788, allocations: 1.142 MB / 0.6896 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.922e-05/0.1789, allocations: 77.69 kB / 0.6897 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/0.1793, allocations: 0.6062 MB / 0.6902 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.1796, allocations: 361.3 kB / 0.6906 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.1799, allocations: 238.9 kB / 0.6908 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.18, allocations: 353.9 kB / 0.6912 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007049/0.1807, allocations: 446.4 kB / 0.6916 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/0.1817, allocations: 0.8886 MB / 0.6925 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.1835, allocations: 1.386 MB / 0.6938 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1835, allocations: 4 kB / 0.6938 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002451/0.186, allocations: 1.656 MB / 0.6954 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.186, allocations: 21.47 kB / 0.6954 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.186, allocations: 16 kB / 0.6955 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.1861, allocations: 23.94 kB / 0.6955 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.1868, allocations: 283.6 kB / 0.6958 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.1868, allocations: 23.92 kB / 0.6958 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.1873, allocations: 127.1 kB / 0.6959 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.468e-05/0.1874, allocations: 67.98 kB / 0.696 GB, free: 7.113 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.0005625/0.188, allocations: 474.4 kB / 0.6964 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.1882, allocations: 139.1 kB / 0.6965 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/0.1885, allocations: 177.6 kB / 0.6967 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.1885, allocations: 15.94 kB / 0.6967 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1885, allocations: 0 / 0.6967 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.1885, allocations: 7.984 kB / 0.6967 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1896, allocations: 1.098 MB / 0.6978 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.1896, allocations: 8 kB / 0.6978 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.19, allocations: 143.8 kB / 0.698 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.19, allocations: 8 kB / 0.698 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.1901, allocations: 43.95 kB / 0.698 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.1901, allocations: 11.94 kB / 0.698 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1901, allocations: 3.984 kB / 0.698 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.1921, allocations: 1.313 MB / 0.6993 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.1923, allocations: 192.1 kB / 0.6995 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.1924, allocations: 56 kB / 0.6995 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.1927, allocations: 35.91 kB / 0.6996 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.1929, allocations: 87.89 kB / 0.6997 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.1929, allocations: 55.91 kB / 0.6997 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009229/0.1939, allocations: 0.7907 MB / 0.7005 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1939, allocations: 0 / 0.7005 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000753/0.1946, allocations: 259.6 kB / 0.7007 GB, free: 2.102 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.001061/0.1957, allocations: 0.5141 MB / 0.7012 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.1976, allocations: 1.102 MB / 0.7023 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1976, allocations: 0 / 0.7023 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007519/0.1984, allocations: 499.1 kB / 0.7028 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009716/0.1994, allocations: 251.3 kB / 0.703 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.2024, allocations: 2.254 MB / 0.7052 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/0.2031, allocations: 1.194 MB / 0.7064 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008277/0.204, allocations: 441.8 kB / 0.7068 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.2043, allocations: 183.3 kB / 0.707 GB, free: 11.83 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.2043, allocations: 0 / 0.707 GB, free: 11.83 MB / 0.545 GB Notification: Performance of Templates: time 0.02449/0.2288, allocations: 15.55 MB / 0.7222 GB, free: 12.43 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.sim & ./IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.Examples.StrobeInfoManager.pipe 2>&1)