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.0018/0.0018, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001659/0.001659, allocations: 216.3 kB / 24.53 MB, free: 4.012 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.502/1.502, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.001954/0.001954, allocations: 63.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2961, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002785/0.2989, allocations: 1.506 MB / 433.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003671/0.2993, allocations: 131.5 kB / 433.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.2993, allocations: 4 kB / 433.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.2994, allocations: 7.922 kB / 433.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.2995, allocations: 7.938 kB / 433.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.2997, allocations: 35.91 kB / 433.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.2998, allocations: 31.86 kB / 433.7 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.2999, allocations: 7.984 kB / 433.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.2999, allocations: 15.92 kB / 433.7 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.179e-05/0.3, allocations: 11.92 kB / 433.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3, allocations: 8 kB / 433.7 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-06/0.3, allocations: 3.938 kB / 433.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.3, allocations: 8 kB / 433.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.3001, allocations: 19.81 kB / 433.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.3002, allocations: 47.61 kB / 433.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3002, allocations: 0 / 433.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3002, allocations: 0 / 433.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3002, allocations: 0 / 433.8 MB, free: 4.844 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.0004039/0.3006, allocations: 282.6 kB / 434.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3007, allocations: 12.03 kB / 434.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.3007, allocations: 12.19 kB / 434.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.3007, allocations: 30.75 kB / 434.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.3007, allocations: 8.891 kB / 434.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.301, allocations: 126.4 kB / 434.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.301, allocations: 4.375 kB / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.301, allocations: 384 / 434.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.3012, allocations: 97.36 kB / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3012, allocations: 0 / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3012, allocations: 0 / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3012, allocations: 0 / 434.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.763e-05/0.3013, allocations: 15.92 kB / 434.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.3016, allocations: 236.8 kB / 434.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.759e-05/0.3017, allocations: 33.16 kB / 434.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.3018, allocations: 25.77 kB / 434.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3018, allocations: 0 / 434.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3018, allocations: 38.56 kB / 434.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3018, allocations: 0 / 434.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002024/0.302, allocations: 57.58 kB / 434.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.3021, allocations: 77.11 kB / 434.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3022, allocations: 132.9 kB / 435 MB, free: 3.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3022, allocations: 29.64 kB / 435 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.3023, allocations: 92.12 kB / 435.1 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.347e-06/0.3023, allocations: 8.203 kB / 435.1 MB, free: 3.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.3023, allocations: 13.72 kB / 435.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3025, allocations: 314.8 kB / 435.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.3025, allocations: 4 kB / 435.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.121e-05/0.3026, allocations: 17.7 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.3026, allocations: 37.59 kB / 435.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3026, allocations: 0 / 435.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.698e-05/0.3027, allocations: 49.62 kB / 435.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3027, allocations: 4 kB / 435.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3027, allocations: 4 kB / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3027, allocations: 0 / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-05/0.3028, allocations: 0 / 435.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3028, allocations: 7.969 kB / 435.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.665e-05/0.3028, allocations: 4 kB / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3028, allocations: 4.062 kB / 435.6 MB, free: 2.867 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 9.431e-05/0.3029, allocations: 121.8 kB / 435.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.303, allocations: 37.66 kB / 435.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.303, allocations: 15.41 kB / 435.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.303, allocations: 4 kB / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.303, allocations: 0 / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.303, allocations: 0 / 435.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3032, allocations: 132.7 kB / 435.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3032, allocations: 3.984 kB / 435.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.3032, allocations: 11.97 kB / 435.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3032, allocations: 4 kB / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.3032, allocations: 0 / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3032, allocations: 0 / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3032, allocations: 0 / 435.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.3033, allocations: 156.3 kB / 436 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.3034, allocations: 15.97 kB / 436 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.3034, allocations: 0 / 436 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.3035, allocations: 8 kB / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.3035, allocations: 0 / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3035, allocations: 0 / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.889e-05/0.3036, allocations: 107.1 kB / 436.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3036, allocations: 0 / 436.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.3038, allocations: 8 kB / 436.2 MB, free: 2.172 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.0004873/0.3043, allocations: 0.682 MB / 436.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3044, allocations: 19.94 kB / 436.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3044, allocations: 0 / 436.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.3044, allocations: 12.14 kB / 436.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.3047, allocations: 21.31 kB / 436.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.306, allocations: 1.256 MB / 438.2 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3064, allocations: 0.6885 MB / 438.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.011e-05/0.3064, allocations: 4.031 kB / 438.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.3065, allocations: 11.44 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3065, allocations: 0 / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.3287, allocations: 1.491 MB / 440.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.09, allocations: 7.172 kB / 440.4 MB, free: 13.97 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.64962934696814] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 11.246818930958398 11.262890348 10.959520198 Calling exit ...