Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) 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) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000951/0.000951, allocations: 181.3 kB / 17.46 MB, free: 4.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007727/0.000773, allocations: 82.39 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07034/0.07034, allocations: 12.2 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004049, allocations: 12 kB / 392.7 MB, free: 67.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07777/0.07819, allocations: 50.29 MB / 443 MB, free: 16.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2633/0.3415, allocations: 78.21 MB / 0.509 GB, free: 13.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001645/0.3417, allocations: 63.45 kB / 0.5091 GB, free: 13.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003186/0.3449, allocations: 1.42 MB / 0.5104 GB, free: 12.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3449, allocations: 0 / 0.5104 GB, free: 12.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.3449, allocations: 0 / 0.5104 GB, free: 12.74 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002862/0.3452, allocations: 374.1 kB / 0.5108 GB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3453, allocations: 15.59 kB / 0.5108 GB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.3453, allocations: 12.75 kB / 0.5108 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3455, allocations: 196.1 kB / 0.511 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3455, allocations: 11.56 kB / 0.511 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3455, allocations: 4.25 kB / 0.511 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/0.3458, allocations: 171.7 kB / 0.5112 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3458, allocations: 192 / 0.5112 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3458, allocations: 3.938 kB / 0.5112 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3458, allocations: 0 / 0.5112 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.3459, allocations: 42.59 kB / 0.5112 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.3462, allocations: 291 kB / 0.5115 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.3464, allocations: 184.8 kB / 0.5117 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/0.3465, allocations: 63.66 kB / 0.5118 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3466, allocations: 0 / 0.5118 GB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.3466, allocations: 37.44 kB / 0.5118 GB, free: 11.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 9.11e-07/0.3466, allocations: 3.844 kB / 0.5118 GB, free: 11.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.000262/0.3469, allocations: 124.4 kB / 0.5119 GB, free: 11.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.3469, allocations: 106.3 kB / 0.512 GB, free: 11.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.347, allocations: 125.9 kB / 0.5121 GB, free: 11.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.347, allocations: 29.08 kB / 0.5122 GB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.347, allocations: 90.86 kB / 0.5122 GB, free: 11.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.347, allocations: 7.766 kB / 0.5123 GB, free: 11.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.3471, allocations: 4 kB / 0.5123 GB, free: 11.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.3471, allocations: 321.6 kB / 0.5126 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.3472, allocations: 15.53 kB / 0.5126 GB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.3472, allocations: 74.31 kB / 0.5126 GB, free: 10.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.3473, allocations: 89.94 kB / 0.5127 GB, free: 10.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3473, allocations: 0 / 0.5127 GB, free: 10.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001454/0.3475, allocations: 120.3 kB / 0.5129 GB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3475, allocations: 7.75 kB / 0.5129 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3475, allocations: 0 / 0.5129 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3475, allocations: 3.812 kB / 0.5129 GB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.3476, allocations: 23.3 kB / 0.5129 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3476, allocations: 3.844 kB / 0.5129 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.3477, allocations: 7.781 kB / 0.5129 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.3477, allocations: 3.969 kB / 0.5129 GB, free: 10.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.3478, allocations: 137.9 kB / 0.513 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.3479, allocations: 80.86 kB / 0.5131 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.3479, allocations: 14.47 kB / 0.5131 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3479, allocations: 0 / 0.5131 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3479, allocations: 7.75 kB / 0.5131 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3479, allocations: 0 / 0.5131 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.348, allocations: 179.7 kB / 0.5133 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3481, allocations: 0 / 0.5133 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.3481, allocations: 23.42 kB / 0.5133 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3481, allocations: 4 kB / 0.5133 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3482, allocations: 0 / 0.5133 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3482, allocations: 7.844 kB / 0.5133 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3482, allocations: 0 / 0.5133 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.3483, allocations: 216.1 kB / 0.5135 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.3484, allocations: 84.77 kB / 0.5136 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3484, allocations: 0 / 0.5136 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.3485, allocations: 7.594 kB / 0.5136 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.3485, allocations: 7.672 kB / 0.5136 GB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.3485, allocations: 0 / 0.5136 GB, free: 9.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.415e-05/0.3486, allocations: 105 kB / 0.5137 GB, free: 9.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3486, allocations: 0 / 0.5137 GB, free: 9.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000215/0.3488, allocations: 7.625 kB / 0.5137 GB, free: 9.699 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.048e-05/0.3489, allocations: 98.73 kB / 0.5138 GB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.349, allocations: 64.03 kB / 0.5139 GB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.349, allocations: 0 / 0.5139 GB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.349, allocations: 8.219 kB / 0.5139 GB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3494, allocations: 58.09 kB / 0.514 GB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.3497, allocations: 242.4 kB / 0.5142 GB, free: 9.359 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.3498, allocations: 0.7075 MB / 0.5149 GB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.3498, allocations: 11.41 kB / 0.5149 GB, free: 8.637 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3498, allocations: 3.938 kB / 0.5149 GB, free: 8.633 MB / 330.7 MB Notification: Performance of Templates: time 0.001793/0.3516, allocations: 1.048 MB / 0.5159 GB, free: 8.109 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)