Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, 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.001357/0.001357, 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.511/1.511, 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.001996/0.001996, allocations: 69.36 kB / 307.3 MB, free: 416 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.113, allocations: 50.53 MB / 357.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003313/0.1164, allocations: 1.558 MB / 359.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1175, allocations: 0.5648 MB / 360 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1176, allocations: 4 kB / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.421e-05/0.1177, allocations: 3.938 kB / 360 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.1179, allocations: 15.81 kB / 360 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.1182, allocations: 63.73 kB / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1183, allocations: 39.92 kB / 360.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1185, allocations: 28.14 kB / 360.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1186, allocations: 35.84 kB / 360.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.857e-05/0.1187, allocations: 19.86 kB / 360.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1187, allocations: 4 kB / 360.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.1188, allocations: 4 kB / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.1189, allocations: 11.94 kB / 360.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.1189, allocations: 35.73 kB / 360.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1191, allocations: 55.73 kB / 360.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1191, allocations: 4 kB / 360.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1191, allocations: 0 / 360.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1191, allocations: 0 / 360.3 MB, free: 11.4 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.0005982/0.1197, allocations: 383.3 kB / 360.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1197, allocations: 12.03 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1198, allocations: 30.75 kB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.12, allocations: 16.83 kB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.1202, allocations: 200.1 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.1202, allocations: 4.375 kB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1203, allocations: 4.375 kB / 360.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.1206, allocations: 109 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1206, allocations: 4 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1206, allocations: 0 / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1206, allocations: 3.938 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.1207, allocations: 19.92 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.1211, allocations: 269.7 kB / 361.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.1212, allocations: 41.22 kB / 361.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.1212, allocations: 29.7 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1213, allocations: 0 / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1213, allocations: 34.56 kB / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1213, allocations: 0 / 361.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002614/0.1216, allocations: 69.52 kB / 361.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.1216, allocations: 81.11 kB / 361.6 MB, free: 9.891 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1218, allocations: 145.1 kB / 361.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1218, allocations: 25.95 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.1219, allocations: 88.14 kB / 361.8 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.1219, allocations: 3.906 kB / 361.8 MB, free: 9.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.1219, allocations: 17.72 kB / 361.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1221, allocations: 322.8 kB / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.1221, allocations: 8 kB / 362.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-05/0.1222, allocations: 17.7 kB / 362.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.391e-05/0.1223, allocations: 37.7 kB / 362.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1223, allocations: 0 / 362.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.1224, allocations: 53.62 kB / 362.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1224, allocations: 8 kB / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1224, allocations: 0 / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1224, allocations: 0 / 362.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.1225, allocations: 12.05 kB / 362.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.1225, allocations: 0 / 362.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.586e-05/0.1226, allocations: 4 kB / 362.3 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1226, allocations: 3.938 kB / 362.3 MB, free: 9.109 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.895e-05/0.1227, allocations: 121.8 kB / 362.4 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.364e-05/0.1228, allocations: 37.61 kB / 362.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.1228, allocations: 15.83 kB / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1228, allocations: 0 / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1228, allocations: 12.02 kB / 362.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1228, allocations: 0 / 362.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.123, allocations: 173.6 kB / 362.7 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.123, allocations: 3.938 kB / 362.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.1231, allocations: 7.938 kB / 362.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1231, allocations: 0 / 362.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1231, allocations: 4 kB / 362.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1231, allocations: 0 / 362.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1231, allocations: 0 / 362.7 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.1233, allocations: 168.2 kB / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.1234, allocations: 89 kB / 362.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1234, allocations: 0 / 362.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1234, allocations: 4 kB / 362.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.1235, allocations: 0 / 362.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.1235, allocations: 7.984 kB / 363 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.784e-05/0.1236, allocations: 111.2 kB / 363.1 MB, free: 8.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1236, allocations: 4.031 kB / 363.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.1238, allocations: 4 kB / 363.1 MB, free: 8.254 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004569/0.1243, allocations: 0.6898 MB / 363.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1244, allocations: 27.95 kB / 363.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1244, allocations: 0 / 363.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.1245, allocations: 7.984 kB / 363.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1248, allocations: 27 kB / 363.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1261, allocations: 1.312 MB / 365.1 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1264, allocations: 0.6885 MB / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.775e-05/0.1265, allocations: 8.031 kB / 365.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.1265, allocations: 19.42 kB / 365.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1265, allocations: 0 / 365.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2921/0.4186, allocations: 1.545 MB / 367.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.348, allocations: 11.8 kB / 367.4 MB, free: 3.902 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1)