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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 109.4 kB / 19.74 MB, free: 2.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 221.1 kB / 22.92 MB, free: 5.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.285/1.285, allocations: 230.5 MB / 256.4 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.001823/0.001823, allocations: 67.84 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2077, allocations: 53.32 MB / 429.4 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002511/0.2102, allocations: 1.455 MB / 430.9 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002539/0.2105, allocations: 91.73 kB / 430.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.2105, allocations: 3.938 kB / 430.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.2106, allocations: 3.984 kB / 431 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.732e-05/0.2106, allocations: 7.938 kB / 431 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2108, allocations: 23.84 kB / 431 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.2109, allocations: 23.94 kB / 431 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.211, allocations: 11.98 kB / 431 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.211, allocations: 11.94 kB / 431 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.129e-05/0.211, allocations: 11.92 kB / 431 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.211, allocations: 4 kB / 431 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.2111, allocations: 4 kB / 431 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.2111, allocations: 7.938 kB / 431.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.2111, allocations: 11.94 kB / 431.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.627e-05/0.2112, allocations: 27.27 kB / 431.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2112, allocations: 4 kB / 431.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2112, allocations: 0 / 431.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.2112, allocations: 0 / 431.1 MB, free: 5.746 MB / 334.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.0003981/0.2116, allocations: 340.4 kB / 431.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.2116, allocations: 12.03 kB / 431.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.2117, allocations: 38.73 kB / 431.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.212e-05/0.2117, allocations: 4.891 kB / 431.5 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.2119, allocations: 184.2 kB / 431.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-06/0.2119, allocations: 384 / 431.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.2119, allocations: 384 / 431.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.2122, allocations: 123.8 kB / 431.8 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.2122, allocations: 3.938 kB / 431.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2122, allocations: 7.938 kB / 431.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2122, allocations: 0 / 431.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/0.2123, allocations: 11.98 kB / 431.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.2124, allocations: 161.6 kB / 432 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.2126, allocations: 58.52 kB / 432 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/0.2126, allocations: 20.89 kB / 432 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2126, allocations: 3.984 kB / 432 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2127, allocations: 38.56 kB / 432.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2127, allocations: 0 / 432.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002176/0.2129, allocations: 69.61 kB / 432.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.2129, allocations: 55.41 kB / 432.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.213, allocations: 109.8 kB / 432.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.213, allocations: 25.7 kB / 432.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.2131, allocations: 84.14 kB / 432.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.2131, allocations: 11.92 kB / 432.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.2131, allocations: 17.72 kB / 432.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2132, allocations: 310.8 kB / 432.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.2132, allocations: 0 / 432.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.2133, allocations: 39.42 kB / 432.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.2133, allocations: 31.38 kB / 432.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2133, allocations: 0 / 432.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.408e-05/0.2134, allocations: 61.58 kB / 432.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2134, allocations: 11.94 kB / 432.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2134, allocations: 0 / 432.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2134, allocations: 0 / 432.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.2135, allocations: 8 kB / 432.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2135, allocations: 0 / 432.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.2135, allocations: 3.938 kB / 432.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.2135, allocations: 4 kB / 432.9 MB, free: 3.668 MB / 334.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 7.944e-05/0.2136, allocations: 118 kB / 433 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.2137, allocations: 57.89 kB / 433.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.2137, allocations: 7.953 kB / 433.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.2137, allocations: 7.984 kB / 433.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2137, allocations: 0 / 433.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2137, allocations: 0 / 433.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2138, allocations: 157.7 kB / 433.3 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2138, allocations: 3.938 kB / 433.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.2139, allocations: 4 kB / 433.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2139, allocations: 12.19 kB / 433.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.2139, allocations: 0 / 433.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2139, allocations: 7.938 kB / 433.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2139, allocations: 3.938 kB / 433.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.214, allocations: 85.06 kB / 433.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.2141, allocations: 81.05 kB / 433.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.2141, allocations: 7.938 kB / 433.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.553e-05/0.2141, allocations: 3.984 kB / 433.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-06/0.2141, allocations: 4 kB / 433.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.2141, allocations: 0 / 433.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.2142, allocations: 87.28 kB / 433.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2142, allocations: 0 / 433.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001708/0.2143, allocations: 4 kB / 433.6 MB, free: 2.914 MB / 334.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.0004223/0.2147, allocations: 0.6279 MB / 434.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.2148, allocations: 19.98 kB / 434.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2148, allocations: 7.938 kB / 434.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2148, allocations: 0 / 434.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.215, allocations: 22.98 kB / 434.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.216, allocations: 1.15 MB / 435.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.2163, allocations: 0.6846 MB / 436.1 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.337e-05/0.2163, allocations: 0 / 436.1 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.2163, allocations: 11.44 kB / 436.1 MB, free: 244 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2163, allocations: 0 / 436.1 MB, free: 244 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.2397, allocations: 1.226 MB / 437.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.288, allocations: 2.641 kB / 437.3 MB, free: 15.1 MB / 350.1 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.35785800099984]