Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.001333/0.001333, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001459/0.001459, allocations: 208.7 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2867, allocations: 53.4 MB / 431.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003297/0.29, allocations: 1.51 MB / 433.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004123/0.2904, allocations: 131.5 kB / 433.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.2905, allocations: 0 / 433.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.924e-05/0.2905, allocations: 3.938 kB / 433.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.2907, allocations: 7.938 kB / 433.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.291, allocations: 39.27 kB / 433.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2911, allocations: 31.86 kB / 433.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2912, allocations: 8 kB / 433.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.2913, allocations: 15.92 kB / 433.6 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.2913, allocations: 15.92 kB / 433.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.2914, allocations: 3.938 kB / 433.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.753e-05/0.2914, allocations: 4 kB / 433.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.2914, allocations: 11.94 kB / 433.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.2915, allocations: 15.92 kB / 433.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2916, allocations: 31.83 kB / 433.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2916, allocations: 0 / 433.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2916, allocations: 0 / 433.7 MB, free: 4.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2916, allocations: 0 / 433.7 MB, free: 4.621 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.0005241/0.2921, allocations: 300.2 kB / 434 MB, free: 4.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.2922, allocations: 8.031 kB / 434 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.475e-05/0.2922, allocations: 192 / 434 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2923, allocations: 38.75 kB / 434.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.2923, allocations: 8.891 kB / 434.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.2926, allocations: 130.4 kB / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2926, allocations: 384 / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.2926, allocations: 8.375 kB / 434.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.2928, allocations: 89.38 kB / 434.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2928, allocations: 0 / 434.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.2928, allocations: 0 / 434.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2928, allocations: 3.984 kB / 434.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.847e-05/0.2929, allocations: 19.92 kB / 434.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.2932, allocations: 228.8 kB / 434.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.036e-05/0.2933, allocations: 41.22 kB / 434.6 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.2934, allocations: 21.7 kB / 434.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2934, allocations: 0 / 434.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2934, allocations: 38.56 kB / 434.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2934, allocations: 0 / 434.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000208/0.2936, allocations: 57.58 kB / 434.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.2937, allocations: 81.11 kB / 434.8 MB, free: 3.383 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2938, allocations: 133.1 kB / 434.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.2938, allocations: 25.7 kB / 434.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.2939, allocations: 84.14 kB / 435 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.2939, allocations: 7.938 kB / 435 MB, free: 3.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.2939, allocations: 17.97 kB / 435 MB, free: 3.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2941, allocations: 314.8 kB / 435.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.2941, allocations: 11.94 kB / 435.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.2941, allocations: 17.7 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.2942, allocations: 29.59 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2942, allocations: 0 / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.74e-05/0.2943, allocations: 45.62 kB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2943, allocations: 10.62 kB / 435.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.2943, allocations: 7.938 kB / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2943, allocations: 0 / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.662e-05/0.2943, allocations: 0 / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2943, allocations: 0 / 435.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.2944, allocations: 7.984 kB / 435.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.2944, allocations: 0 / 435.5 MB, free: 2.637 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 (sample1.u,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 0.0001029/0.2945, allocations: 117.8 kB / 435.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.2945, allocations: 41.66 kB / 435.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.2946, allocations: 15.41 kB / 435.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2946, allocations: 4.031 kB / 435.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2946, allocations: 0 / 435.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2946, allocations: 0 / 435.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2948, allocations: 136.7 kB / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.2948, allocations: 0 / 435.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.2948, allocations: 7.938 kB / 435.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2948, allocations: 0 / 435.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.2948, allocations: 4 kB / 435.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2948, allocations: 0 / 435.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2948, allocations: 0 / 435.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.295, allocations: 156.3 kB / 436 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.295, allocations: 19.94 kB / 436 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.295, allocations: 0 / 436 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.113e-05/0.2951, allocations: 0 / 436 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.2951, allocations: 7.984 kB / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.2951, allocations: 0 / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.352e-05/0.2952, allocations: 103.2 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2952, allocations: 7.938 kB / 436.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00021/0.2954, allocations: 0 / 436.1 MB, free: 1.945 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 (sample1.u,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.0004923/0.2959, allocations: 0.6821 MB / 436.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.296, allocations: 19.92 kB / 436.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.296, allocations: 3.938 kB / 436.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.296, allocations: 8 kB / 436.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2963, allocations: 18.33 kB / 436.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.2975, allocations: 1.26 MB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.408e-05/0.2976, allocations: 71.28 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.155e-05/0.2976, allocations: 7.984 kB / 438.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.2977, allocations: 11.44 kB / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2977, allocations: 0 / 438.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.3186, allocations: 1.548 MB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.11, allocations: 11.55 kB / 439.7 MB, free: 14.3 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.63568797998596] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 11.26208581298124 11.278114405 10.98330682 Calling exit ...