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.001314/0.001314, allocations: 176.6 kB / 16.45 MB, free: 5.68 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.569/1.569, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.0008681/0.0008682, allocations: 90.3 kB / 270.9 MB, free: 8.344 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.06964/0.06964, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004074, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06835/0.06878, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample): time 0.001378/0.07019, allocations: 1.388 MB / 443.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006141/0.07083, allocations: 0.5 MB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.07093, allocations: 7.938 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.07096, allocations: 0 / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.07103, allocations: 15.84 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.07129, allocations: 43.91 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.078e-05/0.07138, allocations: 63.78 kB / 444.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.07148, allocations: 19.98 kB / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.07156, allocations: 35.78 kB / 444.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.07162, allocations: 23.86 kB / 444.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.07164, allocations: 0 / 444.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.07166, allocations: 4 kB / 444.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.07168, allocations: 7.938 kB / 444.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.07171, allocations: 37.7 kB / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.394e-05/0.07178, allocations: 51.84 kB / 444.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.07179, allocations: 0 / 444.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07179, allocations: 0 / 444.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.0718, allocations: 0 / 444.6 MB, free: 14.24 MB / 298.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.0003584/0.07217, allocations: 383.1 kB / 444.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.0722, allocations: 8.031 kB / 444.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.07224, allocations: 7.906 kB / 445 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.0724, allocations: 210.7 kB / 445.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.07241, allocations: 4 kB / 445.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.07243, allocations: 4 kB / 445.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.07273, allocations: 182.6 kB / 445.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.07275, allocations: 0 / 445.3 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.07277, allocations: 4 kB / 445.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.07278, allocations: 4 kB / 445.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.07289, allocations: 43.91 kB / 445.4 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.07315, allocations: 295.4 kB / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.07336, allocations: 211.6 kB / 445.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.07346, allocations: 67.47 kB / 446 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.07349, allocations: 0 / 446 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.07351, allocations: 38.5 kB / 446 MB, free: 12.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.07352, allocations: 4 kB / 446 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002987/0.07382, allocations: 141.7 kB / 446.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.07387, allocations: 140.5 kB / 446.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.07394, allocations: 129.2 kB / 446.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.07396, allocations: 33.7 kB / 446.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.074, allocations: 100 kB / 446.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.07402, allocations: 0 / 446.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.07403, allocations: 8 kB / 446.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.07407, allocations: 322.8 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.07413, allocations: 19.98 kB / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.0742, allocations: 85.38 kB / 447 MB, free: 11.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/0.07427, allocations: 35.92 kB / 447 MB, free: 11.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.07428, allocations: 0 / 447 MB, free: 11.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001702/0.07445, allocations: 121.4 kB / 447.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.07447, allocations: 8 kB / 447.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.07448, allocations: 4 kB / 447.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.0745, allocations: 4 kB / 447.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.07459, allocations: 27.98 kB / 447.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.07461, allocations: 7.938 kB / 447.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.07467, allocations: 15.83 kB / 447.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.07469, allocations: 4.312 kB / 447.2 MB, free: 11.27 MB / 298.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.729e-05/0.07475, allocations: 134.5 kB / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.07486, allocations: 85.53 kB / 447.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.0749, allocations: 16.3 kB / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.07491, allocations: 0 / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.07492, allocations: 4 kB / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.07493, allocations: 3.938 kB / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.07505, allocations: 189.5 kB / 447.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.07506, allocations: 0 / 447.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.07516, allocations: 31.95 kB / 447.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.07517, allocations: 0 / 447.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.07518, allocations: 4 kB / 447.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.07519, allocations: 0 / 447.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.07519, allocations: 0 / 447.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.07537, allocations: 237.8 kB / 447.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.07541, allocations: 85.02 kB / 448 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.07543, allocations: 4 kB / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.07551, allocations: 4 kB / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.07554, allocations: 4 kB / 448 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.07555, allocations: 3.984 kB / 448 MB, free: 10.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.0756, allocations: 107.2 kB / 448.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0756, allocations: 4 kB / 448.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.07583, allocations: 12 kB / 448.1 MB, free: 10.25 MB / 298.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 6.825e-05/0.0759, allocations: 95.25 kB / 448.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.07609, allocations: 68.47 kB / 448.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.0761, allocations: 4.062 kB / 448.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/0.07614, allocations: 15.98 kB / 448.3 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.07652, allocations: 59.92 kB / 448.3 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.07683, allocations: 270 kB / 448.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.07694, allocations: 0.7008 MB / 449.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.07698, allocations: 15.44 kB / 449.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.07698, allocations: 0 / 449.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of Templates: time 0.002045/0.07903, allocations: 1.19 MB / 450.5 MB, free: 7.77 MB / 298.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)