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.001049/0.001054, allocations: 172.8 kB / 16.15 MB, free: 5.656 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.487/1.487, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.0007354/0.0007355, allocations: 93.47 kB / 270.7 MB, free: 8.234 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.07323/0.07323, allocations: 12.59 MB / 331.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004147, allocations: 8.234 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_1): time 0.00161/0.1066, allocations: 1.282 MB / 444.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.1074, allocations: 491.8 kB / 444.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.1075, allocations: 0 / 444.9 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.1077, allocations: 19.8 kB / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.1078, allocations: 11.92 kB / 444.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1081, allocations: 39.95 kB / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.1082, allocations: 59.84 kB / 445 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1083, allocations: 24.14 kB / 445.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1084, allocations: 27.86 kB / 445.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.1086, allocations: 35.83 kB / 445.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.1086, allocations: 8 kB / 445.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.1087, allocations: 4 kB / 445.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.1087, allocations: 19.92 kB / 445.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.1088, allocations: 61.44 kB / 445.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1089, allocations: 63.98 kB / 445.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1089, allocations: 0 / 445.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1089, allocations: 0 / 445.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1089, allocations: 0 / 445.3 MB, free: 13.16 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.0004909/0.1094, allocations: 383.2 kB / 445.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1095, allocations: 8.031 kB / 445.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.1095, allocations: 38.75 kB / 445.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.1095, allocations: 8.844 kB / 445.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.1097, allocations: 196.2 kB / 445.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1097, allocations: 8.312 kB / 445.9 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1098, allocations: 12.31 kB / 445.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.1101, allocations: 224.8 kB / 446.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1102, allocations: 0 / 446.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1102, allocations: 4 kB / 446.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.1102, allocations: 4 kB / 446.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1104, allocations: 67.89 kB / 446.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.1107, allocations: 281.6 kB / 446.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1108, allocations: 93.25 kB / 446.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.1109, allocations: 61.75 kB / 446.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1109, allocations: 4 kB / 446.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.111, allocations: 34.56 kB / 446.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.111, allocations: 0 / 446.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003457/0.1113, allocations: 173.7 kB / 446.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.1114, allocations: 85.11 kB / 446.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.1115, allocations: 129.8 kB / 447 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1115, allocations: 25.7 kB / 447.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.1115, allocations: 92.14 kB / 447.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.1116, allocations: 19.8 kB / 447.2 MB, free: 11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.1116, allocations: 0 / 447.2 MB, free: 11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.1116, allocations: 326.8 kB / 447.5 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.1117, allocations: 32.02 kB / 447.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-05/0.1118, allocations: 89.42 kB / 447.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1119, allocations: 133.2 kB / 447.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1119, allocations: 4 kB / 447.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002007/0.1121, allocations: 145.3 kB / 447.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1122, allocations: 11.94 kB / 447.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1122, allocations: 0 / 447.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1123, allocations: 7.984 kB / 447.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1124, allocations: 24 kB / 447.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1124, allocations: 11.92 kB / 447.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.1125, allocations: 12.28 kB / 448 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1125, allocations: 8 kB / 448 MB, free: 10.13 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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.1126, allocations: 129.8 kB / 448.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.1127, allocations: 101.5 kB / 448.2 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.1128, allocations: 16.38 kB / 448.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1128, allocations: 0 / 448.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1128, allocations: 7.984 kB / 448.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1128, allocations: 0 / 448.2 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.113, allocations: 189.4 kB / 448.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.113, allocations: 4 kB / 448.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1131, allocations: 23.98 kB / 448.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1131, allocations: 0 / 448.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1131, allocations: 0 / 448.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1131, allocations: 7.938 kB / 448.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1131, allocations: 0 / 448.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1133, allocations: 236.3 kB / 448.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.1134, allocations: 88.95 kB / 448.8 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1134, allocations: 4 kB / 448.8 MB, free: 9.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.1135, allocations: 11.98 kB / 448.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1135, allocations: 0 / 448.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1135, allocations: 4 kB / 448.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.1136, allocations: 95.27 kB / 448.9 MB, free: 9.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1136, allocations: 0 / 448.9 MB, free: 9.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.1139, allocations: 20 kB / 448.9 MB, free: 9.109 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.000501/0.1144, allocations: 0.8225 MB / 449.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1146, allocations: 103.8 kB / 449.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1146, allocations: 0 / 449.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.1146, allocations: 11.94 kB / 449.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1149, allocations: 56.72 kB / 449.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1164, allocations: 1.741 MB / 451.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.1166, allocations: 0.7082 MB / 452.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.1166, allocations: 8.547 kB / 452.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.1167, allocations: 27.42 kB / 452.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1167, allocations: 4 kB / 452.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.1281, allocations: 2 MB / 454.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.1283, allocations: 210.9 kB / 454.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.781, allocations: 4 kB / 454.6 MB, free: 3.164 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)