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.Sample1.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.001169/0.001169, allocations: 105.8 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.001326/0.001326, allocations: 222.8 kB / 22.92 MB, free: 5.539 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.441 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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",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.001778/0.001778, allocations: 71.83 kB / 376.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2056, allocations: 53.31 MB / 429.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002467/0.2081, allocations: 1.534 MB / 430.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.2084, allocations: 135.5 kB / 431.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.828e-05/0.2085, allocations: 8 kB / 431.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.2085, allocations: 3.938 kB / 431.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.832e-05/0.2086, allocations: 11.91 kB / 431.1 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2088, allocations: 39.86 kB / 431.1 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.2089, allocations: 35.84 kB / 431.2 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.215e-05/0.209, allocations: 11.98 kB / 431.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.2091, allocations: 11.94 kB / 431.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.001e-05/0.2091, allocations: 15.92 kB / 431.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2091, allocations: 7.938 kB / 431.2 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.2091, allocations: 4 kB / 431.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.454e-05/0.2092, allocations: 15.92 kB / 431.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.2092, allocations: 19.88 kB / 431.2 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2093, allocations: 52.11 kB / 431.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2093, allocations: 0 / 431.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2093, allocations: 0 / 431.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.2093, allocations: 0 / 431.3 MB, free: 5.562 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004051/0.2097, allocations: 367.2 kB / 431.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.2097, allocations: 8.031 kB / 431.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.2098, allocations: 46.67 kB / 431.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.2098, allocations: 8.891 kB / 431.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.21, allocations: 191.5 kB / 431.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.21, allocations: 4.375 kB / 431.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.21, allocations: 4.375 kB / 431.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.2103, allocations: 121.6 kB / 432 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2103, allocations: 3.938 kB / 432 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.2103, allocations: 4 kB / 432 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.2103, allocations: 0 / 432 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.2104, allocations: 27.91 kB / 432.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.2106, allocations: 253.8 kB / 432.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.2108, allocations: 146.1 kB / 432.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.2109, allocations: 29.77 kB / 432.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.2109, allocations: 0 / 432.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2109, allocations: 38.55 kB / 432.5 MB, free: 4.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 6.141e-06/0.2109, allocations: 7.984 kB / 432.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002127/0.2111, allocations: 77.56 kB / 432.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.2112, allocations: 81.11 kB / 432.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2113, allocations: 134 kB / 432.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2113, allocations: 25.7 kB / 432.8 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.2114, allocations: 88.14 kB / 432.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.2114, allocations: 7.938 kB / 432.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.2114, allocations: 21.84 kB / 433 MB, free: 3.629 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2115, allocations: 310.8 kB / 433.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.2116, allocations: 15.98 kB / 433.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.2116, allocations: 27.42 kB / 433.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.361e-05/0.2117, allocations: 55.3 kB / 433.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2117, allocations: 7.938 kB / 433.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.2118, allocations: 61.62 kB / 433.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2118, allocations: 8 kB / 433.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2118, allocations: 0 / 433.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.2118, allocations: 4.125 kB / 433.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.2119, allocations: 11.98 kB / 433.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.2119, allocations: 3.938 kB / 433.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.2119, allocations: 7.953 kB / 433.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.212, allocations: 4 kB / 433.5 MB, free: 3.082 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.794e-05/0.212, allocations: 117.8 kB / 433.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.2121, allocations: 45.69 kB / 433.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.2121, allocations: 12.25 kB / 433.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2121, allocations: 3.984 kB / 433.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2121, allocations: 4 kB / 433.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2121, allocations: 0 / 433.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.2123, allocations: 177.5 kB / 433.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2123, allocations: 0 / 433.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.2124, allocations: 4 kB / 433.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2124, allocations: 11.88 kB / 433.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2124, allocations: 0 / 433.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2124, allocations: 0 / 433.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2124, allocations: 0 / 433.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.2125, allocations: 172.3 kB / 434 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.2126, allocations: 89.09 kB / 434.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.2126, allocations: 0 / 434.1 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.2127, allocations: 4 kB / 434.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.2127, allocations: 3.984 kB / 434.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2127, allocations: 0 / 434.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.533e-05/0.2127, allocations: 103.3 kB / 434.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2127, allocations: 4 kB / 434.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.213, allocations: 7.938 kB / 434.2 MB, free: 2.223 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0004466/0.2134, allocations: 0.7015 MB / 434.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.2135, allocations: 40.33 kB / 434.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2135, allocations: 0 / 434.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.025e-05/0.2136, allocations: 4 kB / 435 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.2139, allocations: 23.95 kB / 435 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.2151, allocations: 1.333 MB / 436.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2153, allocations: 0.6884 MB / 437 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.527e-05/0.2154, allocations: 7.984 kB / 437 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.2154, allocations: 19.44 kB / 437 MB, free: 15.25 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2154, allocations: 0 / 437 MB, free: 15.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.2377, allocations: 1.436 MB / 438.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/7.086, allocations: 19.69 kB / 438.5 MB, free: 13.88 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.097114962001797]