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.001341/0.001341, allocations: 103.7 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.001363/0.001363, allocations: 212.6 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.633/1.633, 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.001968/0.001968, allocations: 65.53 kB / 307.3 MB, free: 404 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1198, allocations: 50.52 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003676/0.1235, allocations: 1.589 MB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1249, allocations: 0.5609 MB / 360 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.1252, allocations: 4 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.182e-05/0.1253, allocations: 11.81 kB / 360 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1254, allocations: 7.922 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.1259, allocations: 59.75 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1261, allocations: 43.92 kB / 360.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1262, allocations: 24.09 kB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1264, allocations: 35.84 kB / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.427e-05/0.1265, allocations: 19.92 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1265, allocations: 0 / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.1266, allocations: 8 kB / 360.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.1266, allocations: 11.94 kB / 360.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.1267, allocations: 31.73 kB / 360.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.1269, allocations: 59.8 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1269, allocations: 0 / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1269, allocations: 0 / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1269, allocations: 0 / 360.3 MB, free: 11.38 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.0006538/0.1276, allocations: 395.2 kB / 360.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.1276, allocations: 12.03 kB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.143e-05/0.1277, allocations: 30.75 kB / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1279, allocations: 16.83 kB / 360.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1282, allocations: 195.2 kB / 361 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1282, allocations: 12.12 kB / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1282, allocations: 0 / 361 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.1285, allocations: 117.9 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1286, allocations: 0 / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1286, allocations: 4 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1286, allocations: 4 kB / 361.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.1287, allocations: 27.91 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.1292, allocations: 278.5 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.1294, allocations: 67.78 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.1295, allocations: 42.58 kB / 361.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1295, allocations: 0 / 361.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.1295, allocations: 38.55 kB / 361.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1295, allocations: 0 / 361.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003037/0.1299, allocations: 85.86 kB / 361.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.13, allocations: 110.8 kB / 361.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1302, allocations: 155.2 kB / 361.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1302, allocations: 25.7 kB / 361.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.437e-05/0.1303, allocations: 88.05 kB / 362 MB, free: 9.441 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.1303, allocations: 7.938 kB / 362 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.1304, allocations: 17.72 kB / 362 MB, free: 9.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1305, allocations: 322.9 kB / 362.3 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.1306, allocations: 7.984 kB / 362.3 MB, free: 9.078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.1306, allocations: 35.38 kB / 362.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1308, allocations: 51.36 kB / 362.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1308, allocations: 0 / 362.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001546/0.1309, allocations: 73.52 kB / 362.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.131, allocations: 4 kB / 362.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.131, allocations: 3.984 kB / 362.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.131, allocations: 4 kB / 362.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.1311, allocations: 16.05 kB / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1311, allocations: 7.938 kB / 362.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.1312, allocations: 4 kB / 362.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1312, allocations: 0 / 362.5 MB, free: 8.852 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 0.0001165/0.1313, allocations: 121.8 kB / 362.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.1314, allocations: 49.55 kB / 362.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.1315, allocations: 15.86 kB / 362.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1315, allocations: 0 / 362.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.1315, allocations: 4 kB / 362.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1315, allocations: 8 kB / 362.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.1317, allocations: 169.6 kB / 362.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1317, allocations: 4 kB / 362.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.748e-05/0.1318, allocations: 7.984 kB / 362.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1318, allocations: 4 kB / 362.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.1318, allocations: 0 / 362.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1318, allocations: 0 / 362.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1318, allocations: 7.938 kB / 362.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1321, allocations: 181.1 kB / 363.1 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.1322, allocations: 93 kB / 363.2 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.1322, allocations: 4 kB / 363.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.1323, allocations: 7.984 kB / 363.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1323, allocations: 3.938 kB / 363.2 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.1323, allocations: 4 kB / 363.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.1325, allocations: 112.4 kB / 363.3 MB, free: 7.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.863e-06/0.1325, allocations: 4 kB / 363.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1327, allocations: 11.94 kB / 363.3 MB, free: 7.945 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.0005879/0.1333, allocations: 0.7101 MB / 364 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1335, allocations: 31.92 kB / 364.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1335, allocations: 0 / 364.1 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.1336, allocations: 11.98 kB / 364.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.134, allocations: 31.89 kB / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.1357, allocations: 1.394 MB / 365.5 MB, free: 5.629 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.1361, allocations: 0.6924 MB / 366.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.125e-05/0.1362, allocations: 7.984 kB / 366.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.1362, allocations: 23.42 kB / 366.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1362, allocations: 0 / 366.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.1631, allocations: 1.724 MB / 368 MB, free: 3.285 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.403, allocations: 7.281 kB / 368 MB, free: 3.281 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 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)