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.SubSample.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.001192/0.001192, allocations: 106.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.001342/0.001342, 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.262/1.262, allocations: 230.5 MB / 256.4 MB, free: 8.422 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.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",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.001764/0.001764, allocations: 71.81 kB / 376.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2105, allocations: 53.32 MB / 429.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002986/0.2135, allocations: 1.925 MB / 431.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2153, allocations: 1.216 MB / 432.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.912e-05/0.2154, allocations: 0 / 432.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.2159, allocations: 155.5 kB / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.2162, allocations: 154.7 kB / 432.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.2166, allocations: 167.5 kB / 433 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.2169, allocations: 187.4 kB / 433.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.2169, allocations: 25.55 kB / 433.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2171, allocations: 83.62 kB / 433.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2172, allocations: 71.69 kB / 433.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.2172, allocations: 8 kB / 433.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.2173, allocations: 59.95 kB / 433.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.2174, allocations: 51.72 kB / 433.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.2175, allocations: 71.53 kB / 433.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.2177, allocations: 203.5 kB / 433.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2177, allocations: 4 kB / 433.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2177, allocations: 0 / 433.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2177, allocations: 0 / 433.8 MB, free: 3.062 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006659/0.2184, allocations: 0.5232 MB / 434.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2184, allocations: 8.031 kB / 434.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.2185, allocations: 38.75 kB / 434.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.2185, allocations: 20.8 kB / 434.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.2189, allocations: 279 kB / 434.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2189, allocations: 8.312 kB / 434.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.2189, allocations: 15.94 kB / 434.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.2192, allocations: 142.7 kB / 434.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2192, allocations: 0 / 434.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2192, allocations: 8 kB / 434.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2192, allocations: 0 / 434.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.2193, allocations: 31.98 kB / 434.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.2197, allocations: 366.3 kB / 435.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.2199, allocations: 111.9 kB / 435.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.556e-05/0.22, allocations: 38.52 kB / 435.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.22, allocations: 3.984 kB / 435.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.2202, allocations: 83.41 kB / 435.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2202, allocations: 0 / 435.4 MB, free: 1.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003378/0.2205, allocations: 141.5 kB / 435.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.2206, allocations: 132.5 kB / 435.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.2209, allocations: 272.9 kB / 435.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.2209, allocations: 33.64 kB / 436 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.221, allocations: 128.3 kB / 436.1 MB, free: 436 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.221, allocations: 11.91 kB / 436.1 MB, free: 424 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.2211, allocations: 37.66 kB / 436.2 MB, free: 380 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2212, allocations: 326.8 kB / 436.5 MB, free: 44 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.2212, allocations: 19.98 kB / 436.5 MB, free: 24 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2213, allocations: 70.05 kB / 436.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.2215, allocations: 72.17 kB / 436.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2215, allocations: 4 kB / 436.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001976/0.2217, allocations: 117.5 kB / 436.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2217, allocations: 8 kB / 436.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2217, allocations: 0 / 436.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.2217, allocations: 0 / 436.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.058e-05/0.2218, allocations: 12 kB / 436.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2218, allocations: 0 / 436.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.2218, allocations: 19.86 kB / 436.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.2218, allocations: 4 kB / 436.8 MB, free: 15.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001267/0.222, allocations: 149.9 kB / 436.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.2221, allocations: 65.5 kB / 437 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.2223, allocations: 107.4 kB / 437.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2223, allocations: 0 / 437.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2223, allocations: 4.375 kB / 437.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.2223, allocations: 15.84 kB / 437.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2225, allocations: 225.5 kB / 437.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2225, allocations: 4 kB / 437.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.2225, allocations: 4 kB / 437.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2225, allocations: 8 kB / 437.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.2225, allocations: 7.984 kB / 437.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2225, allocations: 3.938 kB / 437.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2225, allocations: 0 / 437.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.2227, allocations: 154.6 kB / 437.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.2228, allocations: 112.9 kB / 437.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.2229, allocations: 4 kB / 437.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.2229, allocations: 4 kB / 437.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.2229, allocations: 11.92 kB / 437.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.223, allocations: 8 kB / 437.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.2231, allocations: 196.5 kB / 437.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2231, allocations: 0 / 437.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000233/0.2234, allocations: 31.94 kB / 437.9 MB, free: 14.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001762/0.2251, allocations: 1.007 MB / 438.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.2253, allocations: 67.91 kB / 439 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.2253, allocations: 4.25 kB / 439 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.2254, allocations: 23.92 kB / 439 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.2258, allocations: 74.92 kB / 439.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.2278, allocations: 1.937 MB / 441 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.2281, allocations: 0.728 MB / 441.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.622e-05/0.2282, allocations: 21.53 kB / 441.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.2283, allocations: 47.42 kB / 441.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2283, allocations: 0 / 441.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.2545, allocations: 4.651 MB / 446.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.295, allocations: 14 kB / 446.5 MB, free: 5.934 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.392839836997155]