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/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.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.001035/0.001035, allocations: 181.3 kB / 17.46 MB, free: 4.363 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.319/1.319, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007082/0.0007082, allocations: 82.36 kB / 272 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06562/0.06562, allocations: 12.2 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004538, allocations: 12 kB / 392.7 MB, free: 67.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07385/0.07432, allocations: 50.3 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2464/0.3208, allocations: 78.22 MB / 0.509 GB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.321, allocations: 62.16 kB / 0.5091 GB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003214/0.3242, allocations: 1.463 MB / 0.5105 GB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3242, allocations: 3.938 kB / 0.5105 GB, free: 12.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3243, allocations: 3.906 kB / 0.5105 GB, free: 12.55 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.0002871/0.3246, allocations: 376.3 kB / 0.5109 GB, free: 12.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.3246, allocations: 13.86 kB / 0.5109 GB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.3246, allocations: 8.688 kB / 0.5109 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3248, allocations: 203.3 kB / 0.5111 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.3248, allocations: 4.219 kB / 0.5111 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3248, allocations: 7.781 kB / 0.5111 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.3251, allocations: 183.8 kB / 0.5113 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3251, allocations: 192 / 0.5113 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3251, allocations: 3.938 kB / 0.5113 GB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3252, allocations: 7.859 kB / 0.5113 GB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3253, allocations: 45.5 kB / 0.5113 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.3255, allocations: 297.1 kB / 0.5116 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.3258, allocations: 217.2 kB / 0.5118 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.3259, allocations: 67.53 kB / 0.5119 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.3259, allocations: 3.844 kB / 0.5119 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3259, allocations: 41.69 kB / 0.5119 GB, free: 11.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.3259, allocations: 0 / 0.5119 GB, free: 11.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002953/0.3262, allocations: 137.5 kB / 0.512 GB, free: 11.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3263, allocations: 144.2 kB / 0.5122 GB, free: 10.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.3263, allocations: 132.1 kB / 0.5123 GB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.3264, allocations: 25.7 kB / 0.5123 GB, free: 10.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.3264, allocations: 95.14 kB / 0.5124 GB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.3264, allocations: 15.67 kB / 0.5124 GB, free: 10.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.3264, allocations: 0 / 0.5124 GB, free: 10.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.3265, allocations: 322 kB / 0.5128 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.3265, allocations: 15.66 kB / 0.5128 GB, free: 10.42 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.3266, allocations: 88.94 kB / 0.5129 GB, free: 10.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.3267, allocations: 122.4 kB / 0.513 GB, free: 10.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3267, allocations: 3.938 kB / 0.513 GB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001601/0.3269, allocations: 122.5 kB / 0.5131 GB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3269, allocations: 7.656 kB / 0.5131 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3269, allocations: 4.844 kB / 0.5131 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3269, allocations: 0 / 0.5131 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/0.327, allocations: 27.17 kB / 0.5131 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.327, allocations: 3.844 kB / 0.5131 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.3271, allocations: 10.78 kB / 0.5131 GB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3271, allocations: 7.844 kB / 0.5131 GB, free: 10.13 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 5.28e-05/0.3271, allocations: 127.2 kB / 0.5133 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.3272, allocations: 93.14 kB / 0.5134 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.3273, allocations: 14.31 kB / 0.5134 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3273, allocations: 0 / 0.5134 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3273, allocations: 3.875 kB / 0.5134 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3273, allocations: 0 / 0.5134 GB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.3274, allocations: 191.2 kB / 0.5136 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3274, allocations: 4.344 kB / 0.5136 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.992e-05/0.3275, allocations: 26.98 kB / 0.5136 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3275, allocations: 4 kB / 0.5136 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3275, allocations: 7.812 kB / 0.5136 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3276, allocations: 0 / 0.5136 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3276, allocations: 3.812 kB / 0.5136 GB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.3277, allocations: 226.3 kB / 0.5138 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.3278, allocations: 85.09 kB / 0.5139 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3278, allocations: 7.094 kB / 0.5139 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.3279, allocations: 3.844 kB / 0.5139 GB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.3279, allocations: 11.91 kB / 0.5139 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3279, allocations: 11.41 kB / 0.5139 GB, free: 9.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.328, allocations: 108.3 kB / 0.514 GB, free: 9.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.328, allocations: 0 / 0.514 GB, free: 9.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.3282, allocations: 7.812 kB / 0.514 GB, free: 9.34 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 5.628e-05/0.3283, allocations: 98.03 kB / 0.5141 GB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.3284, allocations: 70.28 kB / 0.5142 GB, free: 9.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3284, allocations: 4.125 kB / 0.5142 GB, free: 9.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.3285, allocations: 11.67 kB / 0.5142 GB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3288, allocations: 63.28 kB / 0.5143 GB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.3291, allocations: 270.2 kB / 0.5145 GB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3292, allocations: 0.7035 MB / 0.5152 GB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.3293, allocations: 11.25 kB / 0.5152 GB, free: 8.258 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3293, allocations: 0 / 0.5152 GB, free: 8.258 MB / 330.7 MB Notification: Performance of Templates: time 0.001869/0.3312, allocations: 1.184 MB / 0.5164 GB, free: 7.664 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)