Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 112.2 kB / 21.22 MB, free: 0.7266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 204.3 kB / 24.52 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.359/1.359, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 47.91 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2374, allocations: 53.37 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002851/0.2403, allocations: 1.534 MB / 433.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003929/0.2407, allocations: 135.5 kB / 433.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.384e-05/0.2408, allocations: 4 kB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.2408, allocations: 3.938 kB / 433.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2409, allocations: 7.922 kB / 433.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.2412, allocations: 35.91 kB / 433.6 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.2412, allocations: 27.92 kB / 433.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.2413, allocations: 11.98 kB / 433.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.856e-05/0.2414, allocations: 7.938 kB / 433.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.2414, allocations: 11.88 kB / 433.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.2414, allocations: 8 kB / 433.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.2414, allocations: 4 kB / 433.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.2415, allocations: 11.97 kB / 433.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.2415, allocations: 23.75 kB / 433.7 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2416, allocations: 48.55 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2416, allocations: 0 / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2416, allocations: 0 / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.2416, allocations: 0 / 433.8 MB, free: 4.973 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004041/0.242, allocations: 286.1 kB / 434.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2421, allocations: 12.03 kB / 434.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.47e-05/0.2421, allocations: 4.188 kB / 434.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.529e-05/0.2421, allocations: 30.75 kB / 434.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.2421, allocations: 8.891 kB / 434.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2423, allocations: 130.4 kB / 434.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2423, allocations: 384 / 434.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2423, allocations: 8.312 kB / 434.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.2426, allocations: 101.4 kB / 434.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2426, allocations: 0 / 434.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.2426, allocations: 3.984 kB / 434.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2426, allocations: 4 kB / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.707e-05/0.2426, allocations: 15.94 kB / 434.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.2429, allocations: 236.8 kB / 434.6 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.243, allocations: 41.16 kB / 434.7 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.243, allocations: 17.77 kB / 434.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.2431, allocations: 7.984 kB / 434.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.2431, allocations: 34.56 kB / 434.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2431, allocations: 0 / 434.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002128/0.2433, allocations: 65.61 kB / 434.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.2434, allocations: 77.11 kB / 434.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2435, allocations: 141.3 kB / 435 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2435, allocations: 25.95 kB / 435 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.2435, allocations: 84.14 kB / 435.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.2436, allocations: 8 kB / 435.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.2436, allocations: 13.7 kB / 435.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2437, allocations: 318.8 kB / 435.4 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.618e-05/0.2438, allocations: 7.938 kB / 435.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.2438, allocations: 17.7 kB / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.309e-05/0.2439, allocations: 37.7 kB / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2439, allocations: 0 / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001058/0.244, allocations: 57.58 kB / 435.5 MB, free: 2.973 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.244, allocations: 4 kB / 435.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.244, allocations: 0 / 435.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.244, allocations: 0 / 435.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.2441, allocations: 8.062 kB / 435.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2441, allocations: 11.92 kB / 435.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.2441, allocations: 0 / 435.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2441, allocations: 0 / 435.6 MB, free: 2.949 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.73e-05/0.2442, allocations: 117.8 kB / 435.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.2442, allocations: 49.58 kB / 435.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.2443, allocations: 15.7 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2443, allocations: 0 / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2443, allocations: 0 / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2443, allocations: 4.031 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.2444, allocations: 148.6 kB / 435.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2444, allocations: 0 / 435.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.2445, allocations: 4 kB / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2445, allocations: 0 / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2445, allocations: 0 / 435.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2445, allocations: 4 kB / 435.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2445, allocations: 0 / 435.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.2446, allocations: 164.3 kB / 436.1 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.2447, allocations: 7.953 kB / 436.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2447, allocations: 4 kB / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.2447, allocations: 3.984 kB / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.2448, allocations: 0 / 436.1 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2448, allocations: 4 kB / 436.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.479e-05/0.2448, allocations: 99.27 kB / 436.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2448, allocations: 4.031 kB / 436.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.245, allocations: 4 kB / 436.2 MB, free: 2.25 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004423/0.2455, allocations: 0.6898 MB / 436.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.2456, allocations: 27.95 kB / 436.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2456, allocations: 0 / 436.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.39e-05/0.2456, allocations: 7.984 kB / 436.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.2459, allocations: 14.61 kB / 436.9 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.2471, allocations: 1.272 MB / 438.2 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2474, allocations: 0.6885 MB / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.746e-05/0.2474, allocations: 0 / 438.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.2474, allocations: 15.44 kB / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2474, allocations: 0 / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.2677, allocations: 1.512 MB / 440.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.74, allocations: 14.62 kB / 440.4 MB, free: 14.01 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.03772239596583] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 10.892823869013228 10.906844449 10.662384188 Calling exit ...