Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001266/0.001266, allocations: 116.9 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.001412/0.001412, 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.527/1.527, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.89 kB / 373.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1193, allocations: 53.38 MB / 427.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003038/0.1224, allocations: 1.524 MB / 428.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004071/0.1228, allocations: 143.5 kB / 428.7 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.406e-05/0.1229, allocations: 7.938 kB / 428.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.558e-05/0.1229, allocations: 3.938 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.1231, allocations: 7.922 kB / 428.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1233, allocations: 35.91 kB / 428.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.1234, allocations: 31.92 kB / 428.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.1235, allocations: 11.98 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.1236, allocations: 15.94 kB / 428.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.21e-05/0.1236, allocations: 15.91 kB / 428.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1236, allocations: 4 kB / 428.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.1236, allocations: 3.938 kB / 428.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.1237, allocations: 11.98 kB / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.1237, allocations: 23.81 kB / 428.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1238, allocations: 51.69 kB / 428.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1238, allocations: 0 / 428.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1238, allocations: 0 / 428.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1238, allocations: 0 / 428.9 MB, free: 2.719 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004735/0.1243, allocations: 373.8 kB / 429.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1243, allocations: 8.031 kB / 429.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.1244, allocations: 4.188 kB / 429.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.1244, allocations: 34.75 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.1244, allocations: 8.891 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1247, allocations: 190 kB / 429.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1247, allocations: 8.375 kB / 429.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1247, allocations: 4.375 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.125, allocations: 113.3 kB / 429.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.125, allocations: 4 kB / 429.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.125, allocations: 0 / 429.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.125, allocations: 0 / 429.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.125, allocations: 15.98 kB / 429.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.1254, allocations: 269.6 kB / 430 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1256, allocations: 134.2 kB / 430.1 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.887e-05/0.1256, allocations: 25.77 kB / 430.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1257, allocations: 8 kB / 430.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1257, allocations: 30.56 kB / 430.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.1257, allocations: 0 / 430.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002452/0.1259, allocations: 77.73 kB / 430.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.126, allocations: 85.05 kB / 430.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1261, allocations: 126 kB / 430.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1262, allocations: 33.7 kB / 430.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1262, allocations: 84.14 kB / 430.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.1262, allocations: 0 / 430.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1263, allocations: 25.66 kB / 430.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1264, allocations: 318.8 kB / 430.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.205e-05/0.1265, allocations: 7.984 kB / 430.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.1265, allocations: 31.44 kB / 430.9 MB, free: 464 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.1266, allocations: 47.3 kB / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1266, allocations: 0 / 431 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001566/0.1267, allocations: 65.62 kB / 431 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1268, allocations: 4 kB / 431 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1268, allocations: 0 / 431 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1268, allocations: 4 kB / 431 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-06/0.1268, allocations: 0 / 431 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1268, allocations: 0 / 431 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/0.1268, allocations: 4 kB / 431 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1268, allocations: 0 / 431 MB, free: 320 kB / 350.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 9.388e-05/0.1269, allocations: 125.8 kB / 431.2 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.127, allocations: 61.58 kB / 431.2 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.127, allocations: 7.906 kB / 431.2 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.127, allocations: 4 kB / 431.2 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.127, allocations: 0 / 431.2 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.127, allocations: 0 / 431.2 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1272, allocations: 173.6 kB / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1272, allocations: 0 / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-06/0.1272, allocations: 4 kB / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1272, allocations: 0 / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.1273, allocations: 0 / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1273, allocations: 0 / 431.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1273, allocations: 4 kB / 431.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.1274, allocations: 168.2 kB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.1275, allocations: 93.05 kB / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1275, allocations: 4 kB / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.1276, allocations: 0 / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.1276, allocations: 0 / 431.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.1276, allocations: 8 kB / 431.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.43e-05/0.1277, allocations: 108.7 kB / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1277, allocations: 0 / 431.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.1279, allocations: 4 kB / 431.8 MB, free: 15.45 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: 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.0005647/0.1285, allocations: 0.7014 MB / 432.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1286, allocations: 23.98 kB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1286, allocations: 3.938 kB / 432.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.1286, allocations: 7.984 kB / 432.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1289, allocations: 16.03 kB / 432.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1302, allocations: 1.319 MB / 433.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1305, allocations: 0.6859 MB / 434.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.517e-05/0.1306, allocations: 11.97 kB / 434.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.1306, allocations: 15.44 kB / 434.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1306, allocations: 0 / 434.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.1504, allocations: 1.497 MB / 436.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.071, allocations: 11.86 kB / 436.1 MB, free: 11.12 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.831208267016336] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.19465250504436 8.441801422 8.082666731 Calling exit ...