Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001229, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.5/1.5, allocations: 227.7 MB / 247 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 73.78 kB / 307.3 MB, free: 404 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1215, allocations: 50.53 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003745/0.1253, allocations: 1.593 MB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1264, allocations: 0.5532 MB / 360 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.1266, allocations: 11.88 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.1266, allocations: 3.938 kB / 360 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1268, allocations: 11.86 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1271, allocations: 59.2 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1272, allocations: 47.84 kB / 360.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1273, allocations: 24.16 kB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1275, allocations: 27.86 kB / 360.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.1275, allocations: 19.91 kB / 360.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1276, allocations: 7.938 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.1276, allocations: 11.94 kB / 360.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.1277, allocations: 15.92 kB / 360.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.1277, allocations: 31.75 kB / 360.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1279, allocations: 55.8 kB / 360.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1279, allocations: 4 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1279, allocations: 0 / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1279, allocations: 0 / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005542/0.1285, allocations: 383.3 kB / 360.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1285, allocations: 8.031 kB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.1286, allocations: 42.73 kB / 360.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1288, allocations: 12.84 kB / 360.8 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.129, allocations: 196.7 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.129, allocations: 8.125 kB / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.129, allocations: 4 kB / 361 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.1293, allocations: 117.8 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1294, allocations: 0 / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1294, allocations: 3.984 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1294, allocations: 0 / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/0.1295, allocations: 23.98 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.1298, allocations: 278.5 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.13, allocations: 75.78 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.972e-05/0.13, allocations: 30.64 kB / 361.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1301, allocations: 7.984 kB / 361.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1301, allocations: 30.56 kB / 361.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.1301, allocations: 4 kB / 361.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002883/0.1304, allocations: 85.45 kB / 361.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.1305, allocations: 106.8 kB / 361.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.1306, allocations: 151.2 kB / 361.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1307, allocations: 25.7 kB / 361.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.1307, allocations: 100.4 kB / 362 MB, free: 9.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.1308, allocations: 0 / 362 MB, free: 9.438 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.1308, allocations: 25.64 kB / 362 MB, free: 9.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.131, allocations: 314.8 kB / 362.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.131, allocations: 11.98 kB / 362.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.1311, allocations: 31.42 kB / 362.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1312, allocations: 51.36 kB / 362.4 MB, free: 8.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1312, allocations: 4 kB / 362.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001429/0.1314, allocations: 65.47 kB / 362.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1314, allocations: 12.12 kB / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1314, allocations: 0 / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1314, allocations: 0 / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.1315, allocations: 15.92 kB / 362.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1315, allocations: 7.938 kB / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.1316, allocations: 0 / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1316, allocations: 4 kB / 362.5 MB, free: 8.859 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.25e-05/0.1317, allocations: 121.8 kB / 362.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.1318, allocations: 61.55 kB / 362.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.1318, allocations: 7.953 kB / 362.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1318, allocations: 7.984 kB / 362.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1318, allocations: 3.938 kB / 362.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1318, allocations: 0 / 362.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.132, allocations: 173.7 kB / 362.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1321, allocations: 0 / 362.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.1321, allocations: 11.98 kB / 362.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1321, allocations: 0 / 362.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.1321, allocations: 4 kB / 362.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1322, allocations: 64 / 362.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.1322, allocations: 11.88 kB / 362.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.1324, allocations: 169.2 kB / 363.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1325, allocations: 97 kB / 363.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1325, allocations: 0 / 363.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.1326, allocations: 11.98 kB / 363.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.1326, allocations: 3.938 kB / 363.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1326, allocations: 0 / 363.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.232e-05/0.1327, allocations: 116.4 kB / 363.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1327, allocations: 0 / 363.3 MB, free: 7.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.133, allocations: 8 kB / 363.3 MB, free: 7.957 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0005415/0.1335, allocations: 0.7139 MB / 364 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.1337, allocations: 35.91 kB / 364.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1337, allocations: 0 / 364.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.1337, allocations: 8.25 kB / 364.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.1341, allocations: 39.33 kB / 364.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1358, allocations: 1.397 MB / 365.5 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.1362, allocations: 0.6963 MB / 366.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.1362, allocations: 3.984 kB / 366.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.1363, allocations: 15.44 kB / 366.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1363, allocations: 0 / 366.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.1592, allocations: 1.723 MB / 368 MB, free: 3.289 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.018, allocations: 7.125 kB / 368 MB, free: 3.285 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1)