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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001521/0.001521, allocations: 220.4 kB / 22.92 MB, free: 5.535 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.266/1.266, allocations: 230.5 MB / 256.4 MB, free: 8.434 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.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"}) [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.001759/0.001759, allocations: 67.83 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2036, allocations: 53.31 MB / 429.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00238/0.206, allocations: 1.491 MB / 430.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.2062, allocations: 91.73 kB / 431 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.2063, allocations: 7.938 kB / 431 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.2063, allocations: 3.938 kB / 431 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.661e-05/0.2064, allocations: 3.938 kB / 431 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.2066, allocations: 31.91 kB / 431 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.514e-05/0.2066, allocations: 27.86 kB / 431.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.014e-05/0.2067, allocations: 4 kB / 431.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.808e-05/0.2067, allocations: 8 kB / 431.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.2068, allocations: 19.91 kB / 431.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.2068, allocations: 0 / 431.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.2068, allocations: 4 kB / 431.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2068, allocations: 3.938 kB / 431.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.2069, allocations: 11.94 kB / 431.1 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.234e-05/0.2069, allocations: 35.27 kB / 431.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2069, allocations: 0 / 431.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2069, allocations: 4 kB / 431.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2069, allocations: 0 / 431.2 MB, free: 5.684 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.0003793/0.2073, allocations: 332.5 kB / 431.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2074, allocations: 15.97 kB / 431.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.2074, allocations: 34.75 kB / 431.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.933e-05/0.2074, allocations: 4.891 kB / 431.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.2076, allocations: 188.2 kB / 431.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.2076, allocations: 384 / 431.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2076, allocations: 12.38 kB / 431.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.2079, allocations: 103.9 kB / 431.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2079, allocations: 3.938 kB / 431.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.2079, allocations: 0 / 431.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.2079, allocations: 0 / 431.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.208, allocations: 23.98 kB / 431.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.2081, allocations: 157.6 kB / 432 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2082, allocations: 58.48 kB / 432.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.224e-05/0.2083, allocations: 20.92 kB / 432.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.2083, allocations: 4 kB / 432.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2083, allocations: 34.56 kB / 432.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2083, allocations: 0 / 432.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002045/0.2085, allocations: 73.59 kB / 432.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.2086, allocations: 55.34 kB / 432.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.2087, allocations: 101.9 kB / 432.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2087, allocations: 25.7 kB / 432.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.2087, allocations: 92.12 kB / 432.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/0.2087, allocations: 0 / 432.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.2087, allocations: 21.72 kB / 432.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2089, allocations: 310.8 kB / 432.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.2089, allocations: 4 kB / 432.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.2089, allocations: 35.36 kB / 432.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/0.2089, allocations: 35.38 kB / 432.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2089, allocations: 0 / 432.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.082e-05/0.209, allocations: 53.62 kB / 432.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.209, allocations: 11.94 kB / 432.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.209, allocations: 0 / 432.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.209, allocations: 0 / 432.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.2091, allocations: 8.375 kB / 432.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2091, allocations: 7.938 kB / 432.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.2091, allocations: 7.953 kB / 433 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2091, allocations: 7.938 kB / 433 MB, free: 3.613 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: 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.733e-05/0.2092, allocations: 117.8 kB / 433.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.2093, allocations: 53.62 kB / 433.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.2093, allocations: 7.906 kB / 433.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2093, allocations: 0 / 433.1 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2093, allocations: 4 kB / 433.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2093, allocations: 4 kB / 433.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.2094, allocations: 157.7 kB / 433.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2094, allocations: 0 / 433.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.2095, allocations: 7.938 kB / 433.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2095, allocations: 7.938 kB / 433.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.2095, allocations: 0 / 433.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2095, allocations: 0 / 433.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2095, allocations: 0 / 433.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.2096, allocations: 89.06 kB / 433.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.2096, allocations: 81.05 kB / 433.5 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2097, allocations: 12.3 kB / 433.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.136e-05/0.2097, allocations: 0 / 433.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-06/0.2097, allocations: 0 / 433.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.2097, allocations: 0 / 433.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.402e-05/0.2097, allocations: 87.28 kB / 433.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2097, allocations: 0 / 433.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001685/0.2099, allocations: 0 / 433.6 MB, free: 2.883 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: 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.0003956/0.2103, allocations: 0.6396 MB / 434.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.2104, allocations: 27.92 kB / 434.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2104, allocations: 0 / 434.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2104, allocations: 256 / 434.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.2106, allocations: 20 kB / 434.3 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008754/0.2114, allocations: 1.158 MB / 435.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2117, allocations: 0.6846 MB / 436.1 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.259e-05/0.2117, allocations: 4 kB / 436.1 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.2117, allocations: 7.438 kB / 436.1 MB, free: 192 kB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2117, allocations: 0 / 436.1 MB, free: 192 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.233, allocations: 1.237 MB / 437.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.805/7.038, allocations: 10.56 kB / 437.4 MB, free: 15.03 MB / 350.1 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.064501021995966]