Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00237/0.00237, allocations: 214.4 kB / 18.59 MB, free: 4.531 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.517/1.517, allocations: 227.7 MB / 247 MB, free: 10.29 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.001976/0.001976, allocations: 60.97 kB / 307.3 MB, free: 400 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 50.53 MB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003043/0.1175, allocations: 1.49 MB / 359.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004597/0.118, allocations: 133.2 kB / 359.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.1182, allocations: 4 kB / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.868e-05/0.1182, allocations: 7.875 kB / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1184, allocations: 7.922 kB / 359.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1187, allocations: 39.41 kB / 359.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.1188, allocations: 35.86 kB / 359.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1189, allocations: 15.98 kB / 359.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.027e-05/0.119, allocations: 4 kB / 359.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.329e-05/0.119, allocations: 19.86 kB / 359.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.1191, allocations: 0 / 359.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.1191, allocations: 4 kB / 359.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.1192, allocations: 8 kB / 359.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.1192, allocations: 19.81 kB / 359.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1193, allocations: 43.81 kB / 359.7 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1194, allocations: 4 kB / 359.7 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1194, allocations: 0 / 359.7 MB, free: 12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1194, allocations: 0 / 359.7 MB, free: 12 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006371/0.12, allocations: 359.5 kB / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.1201, allocations: 8.031 kB / 360.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.1201, allocations: 34.75 kB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.1202, allocations: 4.844 kB / 360.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1204, allocations: 188.2 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.1205, allocations: 4.375 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.1205, allocations: 4.375 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.1208, allocations: 89.61 kB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1208, allocations: 3.938 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1208, allocations: 0 / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1209, allocations: 0 / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.1209, allocations: 11.98 kB / 360.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.1214, allocations: 261.8 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.535e-05/0.1215, allocations: 45.14 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.1215, allocations: 17.78 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1215, allocations: 4 kB / 360.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1216, allocations: 34.5 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.1216, allocations: 0 / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000249/0.1219, allocations: 57.53 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.1219, allocations: 81.09 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1221, allocations: 140.9 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1221, allocations: 29.95 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.1222, allocations: 84.14 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.1222, allocations: 3.984 kB / 361.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1222, allocations: 17.62 kB / 361.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1224, allocations: 322.8 kB / 361.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.1224, allocations: 0 / 361.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.1224, allocations: 17.66 kB / 361.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.942e-05/0.1225, allocations: 33.7 kB / 361.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.1225, allocations: 3.938 kB / 361.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.754e-05/0.1226, allocations: 41.7 kB / 361.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1226, allocations: 11.98 kB / 361.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1226, allocations: 0 / 361.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1227, allocations: 0 / 361.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.221e-05/0.1227, allocations: 4 kB / 361.6 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1227, allocations: 12 kB / 361.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.1227, allocations: 0 / 361.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.1227, allocations: 0 / 361.6 MB, free: 9.832 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: 2 (sample1.u,sample1.y) * 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 8.921e-05/0.1228, allocations: 117.8 kB / 361.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.1229, allocations: 45.58 kB / 361.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.1229, allocations: 15.48 kB / 361.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1229, allocations: 0 / 361.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.123, allocations: 0 / 361.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.123, allocations: 4.031 kB / 361.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.1232, allocations: 165.6 kB / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1232, allocations: 0 / 361.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-06/0.1232, allocations: 4 kB / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1232, allocations: 0 / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1232, allocations: 0 / 361.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1232, allocations: 3.984 kB / 361.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1232, allocations: 3.938 kB / 361.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.1234, allocations: 160.2 kB / 362.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1234, allocations: 89.03 kB / 362.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1235, allocations: 0 / 362.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.1235, allocations: 4 kB / 362.2 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.1235, allocations: 3.984 kB / 362.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.1236, allocations: 3.938 kB / 362.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.116e-05/0.1236, allocations: 103.3 kB / 362.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1236, allocations: 0 / 362.3 MB, free: 9.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1239, allocations: 8.031 kB / 362.3 MB, free: 9.008 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: 2 (sample1.u,sample1.y) * 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.0005111/0.1244, allocations: 0.6858 MB / 363 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1245, allocations: 20.08 kB / 363 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1245, allocations: 0 / 363 MB, free: 8.273 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.1246, allocations: 7.938 kB / 363 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.125, allocations: 29.55 kB / 363 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1263, allocations: 1.245 MB / 364.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1266, allocations: 0.6846 MB / 365 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.927e-05/0.1266, allocations: 0 / 365 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.1267, allocations: 19.42 kB / 365 MB, free: 6.176 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1267, allocations: 0 / 365 MB, free: 6.176 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.148, allocations: 1.345 MB / 366.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.025/8.173, allocations: 3.859 kB / 366.3 MB, free: 4.945 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1)