Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00225/0.00225, allocations: 183.6 kB / 15.8 MB, free: 6.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001166/0.001165, allocations: 90.8 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1056/0.1056, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005384, allocations: 15.47 kB / 392.1 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09357/0.09415, allocations: 50.37 MB / 442.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1538/0.248, allocations: 78.29 MB / 0.5086 GB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.2484, allocations: 63.97 kB / 0.5086 GB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009661/0.2581, allocations: 1.362 MB / 0.5099 GB, free: 11.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2581, allocations: 0 / 0.5099 GB, free: 11.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2581, allocations: 0 / 0.5099 GB, free: 11.03 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006055/0.2588, allocations: 387 kB / 0.5103 GB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.2588, allocations: 11.97 kB / 0.5103 GB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.626e-05/0.2589, allocations: 38.56 kB / 0.5104 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.2589, allocations: 7.906 kB / 0.5104 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.2593, allocations: 202.8 kB / 0.5106 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.2593, allocations: 7.953 kB / 0.5106 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.2593, allocations: 4 kB / 0.5106 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00064/0.26, allocations: 224.9 kB / 0.5108 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.26, allocations: 0 / 0.5108 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.26, allocations: 7.938 kB / 0.5108 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.2601, allocations: 8 kB / 0.5108 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.2603, allocations: 63.89 kB / 0.5109 GB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.2608, allocations: 289.6 kB / 0.5111 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.2611, allocations: 93.25 kB / 0.5112 GB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.2611, allocations: 0 / 0.5112 GB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2612, allocations: 34.62 kB / 0.5113 GB, free: 9.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.2612, allocations: 0 / 0.5113 GB, free: 9.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005952/0.2618, allocations: 161.5 kB / 0.5114 GB, free: 9.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.2619, allocations: 89.05 kB / 0.5115 GB, free: 9.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.262, allocations: 121 kB / 0.5116 GB, free: 9.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.2621, allocations: 25.7 kB / 0.5116 GB, free: 9.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.2622, allocations: 96.08 kB / 0.5117 GB, free: 8.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.2622, allocations: 11.88 kB / 0.5117 GB, free: 8.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.2622, allocations: 4 kB / 0.5117 GB, free: 8.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2624, allocations: 326.9 kB / 0.5121 GB, free: 8.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.2625, allocations: 27.97 kB / 0.5121 GB, free: 8.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.2627, allocations: 97.44 kB / 0.5122 GB, free: 8.457 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.2628, allocations: 43.91 kB / 0.5122 GB, free: 8.414 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2628, allocations: 8 kB / 0.5122 GB, free: 8.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003913/0.2632, allocations: 145.3 kB / 0.5124 GB, free: 8.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2633, allocations: 4.375 kB / 0.5124 GB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2633, allocations: 4.344 kB / 0.5124 GB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2633, allocations: 11.98 kB / 0.5124 GB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.2635, allocations: 20 kB / 0.5124 GB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.2636, allocations: 15.86 kB / 0.5124 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.2637, allocations: 7.906 kB / 0.5124 GB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.2637, allocations: 12 kB / 0.5124 GB, free: 8.184 MB / 362.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: 2 (fIRbyCoefficients.first,$CLKPRE.fIRbyCoefficients.first) * Number of discrete states: 0 () * Number of clocked states: 3 (fIRbyCoefficients.first,fIRbyCoefficients.u_buffer[2],fIRbyCoefficients.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001458/0.2638, allocations: 133.5 kB / 0.5126 GB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.2641, allocations: 101.5 kB / 0.5127 GB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.2642, allocations: 16.38 kB / 0.5127 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2642, allocations: 4 kB / 0.5127 GB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2642, allocations: 3.938 kB / 0.5127 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2642, allocations: 0 / 0.5127 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.2645, allocations: 189.6 kB / 0.5129 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2645, allocations: 0 / 0.5129 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.2647, allocations: 19.98 kB / 0.5129 GB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.2647, allocations: 7.938 kB / 0.5129 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.2648, allocations: 0 / 0.5129 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2648, allocations: 0 / 0.5129 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2648, allocations: 0 / 0.5129 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.2652, allocations: 249.9 kB / 0.5131 GB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.2653, allocations: 81.02 kB / 0.5132 GB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.2654, allocations: 8 kB / 0.5132 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2655, allocations: 7.984 kB / 0.5132 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.2656, allocations: 4 kB / 0.5132 GB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2656, allocations: 4 kB / 0.5132 GB, free: 7.258 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.2657, allocations: 99.83 kB / 0.5133 GB, free: 7.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.965e-06/0.2657, allocations: 0 / 0.5133 GB, free: 7.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.2661, allocations: 19.94 kB / 0.5133 GB, free: 7.141 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (fIRbyCoefficients.first) * Number of discrete states: 0 () * Number of clocked states: 3 (fIRbyCoefficients.u_buffer[1],fIRbyCoefficients.u_buffer[2],fIRbyCoefficients.first) * 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.001018/0.2671, allocations: 0.9123 MB / 0.5142 GB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003541/0.2675, allocations: 100.5 kB / 0.5143 GB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2675, allocations: 0 / 0.5143 GB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.094e-05/0.2676, allocations: 11.94 kB / 0.5143 GB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.268, allocations: 59.95 kB / 0.5144 GB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.2705, allocations: 2.231 MB / 0.5166 GB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.2709, allocations: 0.716 MB / 0.5173 GB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.401e-05/0.271, allocations: 8.562 kB / 0.5173 GB, free: 2.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.2711, allocations: 23.42 kB / 0.5173 GB, free: 2.918 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2711, allocations: 0 / 0.5173 GB, free: 2.918 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.298, allocations: 1.983 MB / 0.5192 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000369/0.2985, allocations: 195.7 kB / 0.5194 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.779, allocations: 0 / 0.5194 GB, free: 0.7031 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_1.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1.pipe 2>&1)