Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001585/0.001585, 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.001388/0.001388, 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.464/1.464, allocations: 227.7 MB / 247 MB, free: 10.38 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.001845/0.001846, allocations: 66.39 kB / 307.3 MB, free: 456 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1254, allocations: 50.53 MB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002853/0.1283, allocations: 1.439 MB / 359.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.1286, allocations: 105.2 kB / 359.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.1287, allocations: 0 / 359.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.1287, allocations: 3.938 kB / 359.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.1288, allocations: 7.922 kB / 359.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.129, allocations: 16 kB / 359.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.1291, allocations: 39.84 kB / 359.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.1292, allocations: 8 kB / 359.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.139e-05/0.1293, allocations: 11.98 kB / 359.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.1293, allocations: 7.938 kB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1293, allocations: 4 kB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.1293, allocations: 4 kB / 359.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.1294, allocations: 7.922 kB / 359.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.1294, allocations: 11.94 kB / 359.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.287e-05/0.1295, allocations: 27.89 kB / 359.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1295, allocations: 0 / 359.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1295, allocations: 0 / 359.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1295, allocations: 4 kB / 359.6 MB, free: 12.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004839/0.13, allocations: 339.7 kB / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.1301, allocations: 8.031 kB / 359.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.1301, allocations: 38.67 kB / 359.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.1301, allocations: 12.84 kB / 359.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1303, allocations: 172.3 kB / 360.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1304, allocations: 4.375 kB / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.1304, allocations: 384 / 360.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.1307, allocations: 111.9 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1307, allocations: 3.938 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1307, allocations: 0 / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1307, allocations: 3.938 kB / 360.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/0.1308, allocations: 19.98 kB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.131, allocations: 161.7 kB / 360.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1312, allocations: 58.52 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.623e-05/0.1312, allocations: 16.86 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1313, allocations: 0 / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1313, allocations: 38.59 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1313, allocations: 0 / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.1315, allocations: 77.73 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.1316, allocations: 51.41 kB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.1317, allocations: 113.8 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1317, allocations: 25.7 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.379e-05/0.1318, allocations: 84.14 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.1318, allocations: 0 / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.1318, allocations: 17.72 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.132, allocations: 326.8 kB / 361.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.132, allocations: 4 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.132, allocations: 27.42 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.1321, allocations: 39.38 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1321, allocations: 0 / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.75e-05/0.1322, allocations: 57.53 kB / 361.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1322, allocations: 11.94 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1322, allocations: 0 / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1322, allocations: 0 / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.1323, allocations: 15.92 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1323, allocations: 0 / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.1323, allocations: 8.062 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.1323, allocations: 8 kB / 361.4 MB, free: 10.11 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.692e-05/0.1324, allocations: 109.8 kB / 361.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1326, allocations: 57.62 kB / 361.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.1326, allocations: 7.891 kB / 361.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1326, allocations: 4 kB / 361.6 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1326, allocations: 3.938 kB / 361.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1326, allocations: 0 / 361.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.1327, allocations: 153.7 kB / 361.7 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1328, allocations: 4 kB / 361.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.1328, allocations: 15.92 kB / 361.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1328, allocations: 3.938 kB / 361.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.1328, allocations: 0 / 361.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1328, allocations: 0 / 361.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1328, allocations: 0 / 361.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.133, allocations: 85.02 kB / 361.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1331, allocations: 85.11 kB / 361.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1331, allocations: 7.938 kB / 361.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.1331, allocations: 256 / 361.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-06/0.1331, allocations: 0 / 361.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1331, allocations: 8 kB / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.712e-05/0.1332, allocations: 83.27 kB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.023e-06/0.1332, allocations: 0 / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001845/0.1334, allocations: 11.94 kB / 362 MB, free: 9.371 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0004883/0.1339, allocations: 0.6201 MB / 362.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.134, allocations: 27.92 kB / 362.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.134, allocations: 0 / 362.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.134, allocations: 0 / 362.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1343, allocations: 28.17 kB / 362.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1354, allocations: 1.162 MB / 363.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1357, allocations: 0.6806 MB / 364.5 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.324e-05/0.1357, allocations: 8 kB / 364.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.1358, allocations: 11.44 kB / 364.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1358, allocations: 0 / 364.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.1591, allocations: 1.223 MB / 365.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/7.946, allocations: 3.859 kB / 365.8 MB, free: 5.57 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1)