Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.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-master/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-master/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.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 186 kB / 16.44 MB, free: 5.691 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.902/1.902, allocations: 205.4 MB / 222.6 MB, free: 9.047 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.001109/0.001109, allocations: 89.55 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09797/0.09797, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005485/0.0005485, allocations: 20 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.0871, allocations: 50.36 MB / 442.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5043, allocations: 78.26 MB / 0.5084 GB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5046, allocations: 59.14 kB / 0.5085 GB, free: 12.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005458/0.5101, allocations: 1.468 MB / 0.5099 GB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5101, allocations: 0 / 0.5099 GB, free: 12.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5101, allocations: 0 / 0.5099 GB, free: 12.25 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.0004213/0.5106, allocations: 376.6 kB / 0.5102 GB, free: 11.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5106, allocations: 9.984 kB / 0.5103 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.5107, allocations: 11.62 kB / 0.5103 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.5109, allocations: 204.8 kB / 0.5105 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.5109, allocations: 7.797 kB / 0.5105 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.511, allocations: 11.09 kB / 0.5105 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.5114, allocations: 172.2 kB / 0.5106 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5114, allocations: 0 / 0.5106 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.5115, allocations: 3.312 kB / 0.5106 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.5115, allocations: 7.844 kB / 0.5107 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.5117, allocations: 41.66 kB / 0.5107 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.5121, allocations: 306.1 kB / 0.511 GB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.5124, allocations: 205.9 kB / 0.5112 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.5125, allocations: 11.98 kB / 0.5112 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.5125, allocations: 33.56 kB / 0.5112 GB, free: 10.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/0.5125, allocations: 0 / 0.5112 GB, free: 10.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004696/0.513, allocations: 144.8 kB / 0.5114 GB, free: 10.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.5131, allocations: 139.5 kB / 0.5115 GB, free: 10.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.5132, allocations: 117.2 kB / 0.5116 GB, free: 10.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5132, allocations: 32.73 kB / 0.5116 GB, free: 10.6 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.5132, allocations: 160.6 kB / 0.5118 GB, free: 10.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.5133, allocations: 7.891 kB / 0.5118 GB, free: 10.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.5133, allocations: 11.72 kB / 0.5118 GB, free: 10.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.5134, allocations: 310.8 kB / 0.5121 GB, free: 10.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.5134, allocations: 23.08 kB / 0.5121 GB, free: 10.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.5136, allocations: 80.22 kB / 0.5122 GB, free: 10.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.5137, allocations: 33.48 kB / 0.5122 GB, free: 10.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5137, allocations: 7.891 kB / 0.5122 GB, free: 10 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002663/0.514, allocations: 115 kB / 0.5124 GB, free: 9.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.514, allocations: 7.719 kB / 0.5124 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.514, allocations: 0 / 0.5124 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5141, allocations: 4.156 kB / 0.5124 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.5142, allocations: 31.23 kB / 0.5124 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5142, allocations: 3.969 kB / 0.5124 GB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.429e-05/0.5143, allocations: 14.05 kB / 0.5124 GB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.5144, allocations: 7.719 kB / 0.5124 GB, free: 9.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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 9.158e-05/0.5145, allocations: 128.3 kB / 0.5125 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.5146, allocations: 92.08 kB / 0.5126 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.5147, allocations: 18.45 kB / 0.5126 GB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5147, allocations: 4.031 kB / 0.5127 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5147, allocations: 0 / 0.5127 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5148, allocations: 3.844 kB / 0.5127 GB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.515, allocations: 183.6 kB / 0.5128 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.515, allocations: 0 / 0.5128 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.5152, allocations: 28 kB / 0.5129 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5152, allocations: 0 / 0.5129 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.5152, allocations: 6.844 kB / 0.5129 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5152, allocations: 0 / 0.5129 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5152, allocations: 3.938 kB / 0.5129 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.5155, allocations: 272.1 kB / 0.5131 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.5156, allocations: 84.86 kB / 0.5132 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.5156, allocations: 3.969 kB / 0.5132 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.5158, allocations: 7.75 kB / 0.5132 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.5158, allocations: 0 / 0.5132 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5158, allocations: 7.828 kB / 0.5132 GB, free: 9.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.382e-05/0.5159, allocations: 99.55 kB / 0.5133 GB, free: 9.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5159, allocations: 0 / 0.5133 GB, free: 9.109 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.5162, allocations: 14.06 kB / 0.5133 GB, free: 9.109 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 11 * 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 0.0001003/0.5164, allocations: 109.6 kB / 0.5134 GB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.5166, allocations: 69.38 kB / 0.5135 GB, free: 8.996 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5166, allocations: 0 / 0.5135 GB, free: 8.996 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.5167, allocations: 15.67 kB / 0.5135 GB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.5171, allocations: 61.67 kB / 0.5136 GB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.5176, allocations: 266.1 kB / 0.5138 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.5178, allocations: 0.7037 MB / 0.5145 GB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.5179, allocations: 15.3 kB / 0.5145 GB, free: 8.016 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5179, allocations: 3.938 kB / 0.5145 GB, free: 8.012 MB / 330.7 MB Notification: Performance of Templates: time 0.003139/0.521, allocations: 1.18 MB / 0.5157 GB, free: 7.422 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe 2>&1)