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.0013/0.0013, allocations: 174.4 kB / 16.11 MB, free: 5.215 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.601/1.601, allocations: 205 MB / 221.9 MB, free: 9.133 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.0008842/0.0008842, allocations: 94.28 kB / 269.9 MB, free: 8.664 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.07764/0.07764, allocations: 12.57 MB / 330.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 12 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08611, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.001642/0.0878, allocations: 1.285 MB / 442.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007232/0.08855, allocations: 0.4958 MB / 442.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.08863, allocations: 0 / 442.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.08885, allocations: 15.86 kB / 442.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.858e-05/0.0889, allocations: 7.922 kB / 442.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.08917, allocations: 43.95 kB / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.266e-05/0.08927, allocations: 59.84 kB / 443 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.214e-05/0.08937, allocations: 12.17 kB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.08947, allocations: 39.78 kB / 443.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.08962, allocations: 35.89 kB / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.08965, allocations: 0 / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.08967, allocations: 4 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.08973, allocations: 23.91 kB / 443.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.08978, allocations: 35.73 kB / 443.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.371e-05/0.08988, allocations: 67.98 kB / 443.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.08989, allocations: 0 / 443.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.0899, allocations: 3.938 kB / 443.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.08991, allocations: 0 / 443.3 MB, free: 14.14 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004417/0.09036, allocations: 375.2 kB / 443.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.0904, allocations: 8.031 kB / 443.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/0.09043, allocations: 42.73 kB / 443.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.09047, allocations: 8.844 kB / 443.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.09063, allocations: 196.1 kB / 443.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.09066, allocations: 8.312 kB / 443.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.09068, allocations: 12.36 kB / 443.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.09104, allocations: 228.8 kB / 444.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.09106, allocations: 0 / 444.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.09108, allocations: 4 kB / 444.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.0911, allocations: 4 kB / 444.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.09124, allocations: 67.89 kB / 444.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.09149, allocations: 281.6 kB / 444.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.09164, allocations: 93.06 kB / 444.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.09174, allocations: 61.75 kB / 444.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.09177, allocations: 0 / 444.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.0918, allocations: 30.56 kB / 444.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.0918, allocations: 0 / 444.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003378/0.09215, allocations: 169.6 kB / 444.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.09222, allocations: 85.11 kB / 444.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.09229, allocations: 129.8 kB / 445 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.09231, allocations: 29.7 kB / 445.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.09235, allocations: 88.14 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.09238, allocations: 19.8 kB / 445.2 MB, free: 12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.09241, allocations: 21.84 kB / 445.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.09247, allocations: 326.8 kB / 445.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/0.09253, allocations: 24.36 kB / 445.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.09261, allocations: 101.4 kB / 445.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.09274, allocations: 129.3 kB / 445.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.09275, allocations: 0 / 445.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001835/0.09294, allocations: 153.2 kB / 445.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.09297, allocations: 11.94 kB / 445.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.09298, allocations: 0 / 445.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.093, allocations: 4 kB / 445.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.0931, allocations: 24.33 kB / 445.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.09312, allocations: 11.94 kB / 445.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.09318, allocations: 15.94 kB / 446 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.0932, allocations: 4 kB / 446 MB, free: 11.1 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: 2 ($CLKPRE.fIRbyCoefficients.first,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/0.09328, allocations: 125.8 kB / 446.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.09341, allocations: 105.5 kB / 446.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.09345, allocations: 12.38 kB / 446.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.09346, allocations: 3.984 kB / 446.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.09347, allocations: 4 kB / 446.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.09348, allocations: 7.984 kB / 446.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.09361, allocations: 189.4 kB / 446.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.09362, allocations: 4 kB / 446.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.09372, allocations: 23.92 kB / 446.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.09373, allocations: 0 / 446.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.09375, allocations: 0 / 446.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.09375, allocations: 4 kB / 446.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.09376, allocations: 0 / 446.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.09397, allocations: 236.1 kB / 446.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.094, allocations: 85.02 kB / 446.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.09403, allocations: 8 kB / 446.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.09411, allocations: 7.984 kB / 446.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.09415, allocations: 0 / 446.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.09417, allocations: 4 kB / 446.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.09422, allocations: 107.2 kB / 446.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09422, allocations: 0 / 446.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002261/0.09445, allocations: 16 kB / 446.9 MB, free: 10.07 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000477/0.09494, allocations: 0.8187 MB / 447.7 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.09513, allocations: 99.92 kB / 447.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09514, allocations: 3.938 kB / 447.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.442e-05/0.09518, allocations: 16.69 kB / 447.8 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.0955, allocations: 59.91 kB / 447.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.09692, allocations: 1.733 MB / 449.6 MB, free: 7.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.09709, allocations: 0.716 MB / 450.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.09713, allocations: 8.562 kB / 450.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.09719, allocations: 23.42 kB / 450.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.09719, allocations: 0 / 450.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.1078, allocations: 1.997 MB / 452.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/0.108, allocations: 210.9 kB / 452.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.771, allocations: 0 / 452.6 MB, free: 4.137 MB / 298.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)