Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.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_Step2b,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b",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.001422/0.001422, allocations: 175.4 kB / 8.047 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001117/0.001117, allocations: 97.3 kB / 261.8 MB, free: 13.45 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.1129/0.1129, allocations: 12.58 MB / 322.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.983e-05, allocations: 3.984 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09516, allocations: 50.37 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5288/0.624, allocations: 78.29 MB / 0.4958 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.6243, allocations: 67.09 kB / 0.4959 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02471/0.649, allocations: 5.417 MB / 0.5011 GB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6491, allocations: 0 / 0.5011 GB, free: 11.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.6491, allocations: 3.875 kB / 0.5012 GB, free: 11.07 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006191/0.6497, allocations: 426.9 kB / 0.5016 GB, free: 10.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.6498, allocations: 11.69 kB / 0.5016 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.6499, allocations: 11.81 kB / 0.5016 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.6501, allocations: 201.5 kB / 0.5018 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.6501, allocations: 7.859 kB / 0.5018 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.6502, allocations: 3.625 kB / 0.5018 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000253/0.6504, allocations: 100.5 kB / 0.5019 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.6511, allocations: 332 kB / 0.5022 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6511, allocations: 0 / 0.5022 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.6512, allocations: 0 / 0.5022 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.6512, allocations: 6.266 kB / 0.5022 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.6517, allocations: 291.2 kB / 0.5025 GB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.652, allocations: 169.3 kB / 0.5026 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.6522, allocations: 95.05 kB / 0.5027 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.6522, allocations: 3.656 kB / 0.5027 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.6523, allocations: 42.38 kB / 0.5028 GB, free: 9.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.595e-06/0.6523, allocations: 1.281 kB / 0.5028 GB, free: 9.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004747/0.6528, allocations: 161.4 kB / 0.5029 GB, free: 9.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.6528, allocations: 94.02 kB / 0.503 GB, free: 9.855 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.6529, allocations: 116.5 kB / 0.5031 GB, free: 9.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.653, allocations: 25.7 kB / 0.5032 GB, free: 9.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.653, allocations: 97 kB / 0.5032 GB, free: 9.645 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.6531, allocations: 22.05 kB / 0.5033 GB, free: 9.633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-06/0.6531, allocations: 3.938 kB / 0.5033 GB, free: 9.629 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.6532, allocations: 324 kB / 0.5036 GB, free: 9.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.6532, allocations: 34.64 kB / 0.5036 GB, free: 9.312 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.6534, allocations: 150.6 kB / 0.5038 GB, free: 9.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.6535, allocations: 62.52 kB / 0.5038 GB, free: 9.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6535, allocations: 0 / 0.5038 GB, free: 9.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003354/0.6539, allocations: 179.3 kB / 0.504 GB, free: 9.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6539, allocations: 7.688 kB / 0.504 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6539, allocations: 4.438 kB / 0.504 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.6539, allocations: 11.69 kB / 0.504 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.6542, allocations: 42.84 kB / 0.5041 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6542, allocations: 11.62 kB / 0.5041 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.6544, allocations: 14.58 kB / 0.5041 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.6544, allocations: 7.688 kB / 0.5041 GB, free: 9.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (FIR1.FIRbyCoefficients1.first,$CLKPRE.FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001114/0.6545, allocations: 120 kB / 0.5042 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004149/0.6549, allocations: 164 kB / 0.5044 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.655, allocations: 11.59 kB / 0.5044 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.6551, allocations: 21.75 kB / 0.5044 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.6552, allocations: 3.781 kB / 0.5044 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6552, allocations: 3.938 kB / 0.5044 GB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6552, allocations: 0 / 0.5044 GB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.6554, allocations: 171.9 kB / 0.5046 GB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6554, allocations: 0 / 0.5046 GB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.6556, allocations: 35.31 kB / 0.5046 GB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.6557, allocations: 0 / 0.5046 GB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.6557, allocations: 6.469 kB / 0.5046 GB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.6557, allocations: 4 kB / 0.5046 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6557, allocations: 4 kB / 0.5046 GB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.6561, allocations: 291.7 kB / 0.5049 GB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.6562, allocations: 92.66 kB / 0.505 GB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.6562, allocations: 11.08 kB / 0.505 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.6564, allocations: 3.844 kB / 0.505 GB, free: 8.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.6564, allocations: 4 kB / 0.505 GB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.6565, allocations: 7.672 kB / 0.505 GB, free: 8.438 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.6565, allocations: 103.4 kB / 0.5051 GB, free: 8.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6565, allocations: 0 / 0.5051 GB, free: 8.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006321/0.6572, allocations: 61.05 kB / 0.5052 GB, free: 8.34 MB / 330.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 (FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 1 * 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.001247/0.6584, allocations: 1.05 MB / 0.5062 GB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.6588, allocations: 133.6 kB / 0.5063 GB, free: 7.492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6588, allocations: 1.188 kB / 0.5063 GB, free: 7.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/0.6589, allocations: 3.844 kB / 0.5063 GB, free: 7.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.6595, allocations: 105.6 kB / 0.5064 GB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.6608, allocations: 311.2 kB / 0.5067 GB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.661, allocations: 0.7262 MB / 0.5074 GB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.835e-05/0.6611, allocations: 16.77 kB / 0.5074 GB, free: 6.555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.6612, allocations: 32.38 kB / 0.5075 GB, free: 6.547 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6612, allocations: 0 / 0.5075 GB, free: 6.547 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.7037, allocations: 3.154 MB / 0.5105 GB, free: 5.039 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.704, allocations: 189.2 kB / 0.5107 GB, free: 4.844 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/3.283, allocations: 0 / 0.5107 GB, free: 4.844 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestFIR_Step2b.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)