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.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.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_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.001362/0.001362, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 214.4 kB / 18.59 MB, free: 4.402 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.49/1.49, 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.001801/0.001801, allocations: 64.98 kB / 307.3 MB, free: 404 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.08963, allocations: 50.54 MB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003175/0.09285, allocations: 1.472 MB / 359.4 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.09316, allocations: 93.3 kB / 359.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.09324, allocations: 0 / 359.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.09328, allocations: 0 / 359.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.09332, allocations: 3.938 kB / 359.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.09358, allocations: 27.91 kB / 359.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.09367, allocations: 39.8 kB / 359.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.09378, allocations: 8 kB / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.969e-05/0.09382, allocations: 11.98 kB / 359.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.09387, allocations: 15.92 kB / 359.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.09389, allocations: 0 / 359.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.0939, allocations: 4 kB / 359.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.09392, allocations: 3.938 kB / 359.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.09397, allocations: 11.94 kB / 359.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.382e-05/0.09406, allocations: 23.91 kB / 359.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.09407, allocations: 0 / 359.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09408, allocations: 0 / 359.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.09409, allocations: 4 kB / 359.6 MB, free: 12.11 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.0004907/0.09459, allocations: 343.7 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.09463, allocations: 8.031 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.09469, allocations: 38.75 kB / 360 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.09472, allocations: 4.844 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.09495, allocations: 180.2 kB / 360.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.09497, allocations: 4.375 kB / 360.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.09499, allocations: 4.375 kB / 360.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.09533, allocations: 111.8 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.09536, allocations: 3.938 kB / 360.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.09537, allocations: 3.938 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.09538, allocations: 0 / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.09547, allocations: 19.98 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.09568, allocations: 153.7 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.09587, allocations: 62.52 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.09594, allocations: 20.89 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.09599, allocations: 4 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.09603, allocations: 30.56 kB / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.09604, allocations: 0 / 360.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002421/0.09628, allocations: 77.73 kB / 360.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.09635, allocations: 55.41 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.09646, allocations: 109.8 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.09649, allocations: 25.7 kB / 360.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.09655, allocations: 84.14 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.09656, allocations: 3.984 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.09661, allocations: 17.72 kB / 360.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.09676, allocations: 318.8 kB / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.09678, allocations: 4 kB / 361.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.09682, allocations: 27.42 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.09687, allocations: 39.38 kB / 361.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.09688, allocations: 0 / 361.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/0.09702, allocations: 61.47 kB / 361.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.09705, allocations: 11.94 kB / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.09706, allocations: 256 / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.09707, allocations: 0 / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.09713, allocations: 12 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.09714, allocations: 3.938 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.09717, allocations: 3.938 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.09719, allocations: 12.12 kB / 361.4 MB, free: 10.02 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 7.58e-05/0.09727, allocations: 109.8 kB / 361.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.09738, allocations: 61.61 kB / 361.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.09742, allocations: 3.906 kB / 361.6 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.09743, allocations: 0 / 361.6 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.09744, allocations: 4 kB / 361.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.09744, allocations: 0 / 361.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.09756, allocations: 157.7 kB / 361.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.09757, allocations: 3.938 kB / 361.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.09762, allocations: 8 kB / 361.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.09764, allocations: 7.938 kB / 361.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.09765, allocations: 3.938 kB / 361.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.09765, allocations: 0 / 361.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.09766, allocations: 0 / 361.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.0978, allocations: 85.02 kB / 361.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.09786, allocations: 77.11 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.09794, allocations: 11.94 kB / 361.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.624e-05/0.09797, allocations: 7.984 kB / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-06/0.09797, allocations: 0 / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.09798, allocations: 0 / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.09804, allocations: 83.28 kB / 362 MB, free: 9.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09804, allocations: 0 / 362 MB, free: 9.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000178/0.09823, allocations: 4 kB / 362 MB, free: 9.297 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: 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.0004731/0.09871, allocations: 0.6279 MB / 362.7 MB, free: 8.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.09883, allocations: 27.92 kB / 362.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.09884, allocations: 0 / 362.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.09885, allocations: 0 / 362.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.09907, allocations: 20.02 kB / 362.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1002, allocations: 1.159 MB / 363.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1005, allocations: 0.6884 MB / 364.6 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.242e-05/0.1005, allocations: 8 kB / 364.6 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.1006, allocations: 7.438 kB / 364.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1006, allocations: 0 / 364.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.1246, allocations: 1.224 MB / 365.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.098, allocations: 7.797 kB / 365.8 MB, free: 5.492 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1)