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.001663/0.001663, allocations: 114.3 kB / 18.49 MB, free: 4.535 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.002066/0.002066, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.5/1.5, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.001993/0.001993, allocations: 60.05 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09834, allocations: 53.38 MB / 427.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002854/0.1012, allocations: 1.506 MB / 428.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000385/0.1016, allocations: 143.5 kB / 428.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.1017, allocations: 3.938 kB / 428.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.1017, allocations: 0 / 428.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.1018, allocations: 3.938 kB / 428.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1021, allocations: 39.84 kB / 428.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.1021, allocations: 27.98 kB / 428.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.1022, allocations: 11.98 kB / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.669e-05/0.1023, allocations: 15.88 kB / 428.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.838e-05/0.1023, allocations: 7.922 kB / 428.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1023, allocations: 4 kB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.1023, allocations: 4 kB / 428.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.1024, allocations: 7.938 kB / 428.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.1024, allocations: 23.8 kB / 428.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1025, allocations: 43.77 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1025, allocations: 0 / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1025, allocations: 4 kB / 428.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1025, allocations: 0 / 428.9 MB, free: 2.746 MB / 350.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.000434/0.1029, allocations: 359.2 kB / 429.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.103, allocations: 8.031 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.027e-05/0.103, allocations: 8.125 kB / 429.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.103, allocations: 30.75 kB / 429.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.103, allocations: 8.891 kB / 429.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1033, allocations: 198.3 kB / 429.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1033, allocations: 4.375 kB / 429.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1033, allocations: 4.375 kB / 429.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.1036, allocations: 89.42 kB / 429.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1036, allocations: 3.938 kB / 429.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1036, allocations: 0 / 429.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1036, allocations: 3.984 kB / 429.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.719e-05/0.1037, allocations: 12 kB / 429.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.104, allocations: 261.8 kB / 429.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.648e-05/0.1041, allocations: 37.16 kB / 429.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.1041, allocations: 25.77 kB / 429.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1042, allocations: 0 / 429.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1042, allocations: 34.56 kB / 430 MB, free: 1.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1042, allocations: 0 / 430 MB, free: 1.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002113/0.1044, allocations: 57.58 kB / 430 MB, free: 1.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.1045, allocations: 81.05 kB / 430.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1046, allocations: 134.1 kB / 430.2 MB, free: 1.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1046, allocations: 25.7 kB / 430.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.1047, allocations: 88.14 kB / 430.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.1047, allocations: 3.953 kB / 430.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1047, allocations: 21.7 kB / 430.4 MB, free: 1.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1049, allocations: 310.8 kB / 430.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.1049, allocations: 4 kB / 430.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.1049, allocations: 29.7 kB / 430.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.977e-05/0.105, allocations: 21.66 kB / 430.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.105, allocations: 0 / 430.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/0.1051, allocations: 49.62 kB / 430.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1051, allocations: 4 kB / 430.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1051, allocations: 0 / 430.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1051, allocations: 12.06 kB / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.355e-05/0.1051, allocations: 0 / 430.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1051, allocations: 7.922 kB / 430.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.1052, allocations: 0 / 430.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.1052, allocations: 4 kB / 430.8 MB, free: 0.5664 MB / 350.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.515e-05/0.1053, allocations: 121.8 kB / 430.9 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.1053, allocations: 41.59 kB / 431 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.1054, allocations: 11.52 kB / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1054, allocations: 32 / 431 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1054, allocations: 8 kB / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1054, allocations: 0 / 431 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1055, allocations: 161.6 kB / 431.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1055, allocations: 0 / 431.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-06/0.1056, allocations: 0 / 431.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1056, allocations: 3.984 kB / 431.1 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1056, allocations: 4 kB / 431.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1056, allocations: 0 / 431.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1056, allocations: 0 / 431.1 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1057, allocations: 164.2 kB / 431.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.1058, allocations: 92.98 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1058, allocations: 4 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.1059, allocations: 0 / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1059, allocations: 4 kB / 431.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1059, allocations: 0 / 431.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.645e-05/0.106, allocations: 96.81 kB / 431.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.106, allocations: 4.031 kB / 431.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1062, allocations: 8 kB / 431.5 MB, free: 15.75 MB / 366.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.0004751/0.1067, allocations: 0.682 MB / 432.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.1068, allocations: 20.02 kB / 432.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1068, allocations: 4 kB / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.1068, allocations: 0 / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1072, allocations: 15.97 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1084, allocations: 1.256 MB / 433.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1088, allocations: 0.6923 MB / 434.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.1088, allocations: 0 / 434.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1088, allocations: 15.44 kB / 434.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1088, allocations: 0 / 434.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.1264, allocations: 1.425 MB / 435.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.287, allocations: 8.047 kB / 435.6 MB, free: 11.64 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.97147039102856] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.41237433400238 8.681324257 8.327374748 Calling exit ...